Compares two specified row intervals and returns an integer that indicates their relative position in the sort order.

Namespace: Hypertable
Assembly: ht4n (in ht4n.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static int Compare(
	RowInterval x,
	RowInterval y
)
Public Shared Function Compare ( _
	x As RowInterval, _
	y As RowInterval _
) As Integer
public:
static int Compare(
	RowInterval^ x, 
	RowInterval^ y
)

Parameters

x
RowInterval
The first row interval to compare, or null.
y
RowInterval
The second row interval to compare, or null.

Return Value

Signed integer that indicates the relationship between the two comparands:
< 0if x is less than y
= 0if x equals y
> 0if x is greater than y

See Also