Method Compare
Compare(Int32, Int32)
Compare hit at slot1 with hit at slot2.
Declaration
public abstract int Compare(int slot1, int slot2)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | slot1 | first slot to compare |
System.Int32 | slot2 | second slot to compare |
Returns
Type | Description |
---|---|
System.Int32 | any N < 0 if slot2's value is sorted after slot1, any N > 0 if the slot2's value is sorted before slot1 and 0 if they are equal |