Compares two specified cell 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(
	CellInterval x,
	CellInterval y
)
Public Shared Function Compare ( _
	x As CellInterval, _
	y As CellInterval _
) As Integer
public:
static int Compare(
	CellInterval^ x, 
	CellInterval^ y
)

Parameters

x
CellInterval
The first cell interval to compare, or null.
y
CellInterval
The second cell 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