public final class NSComparisonResult
extends java.lang.Object
Given the function: NSComparisonResult f(int a, int b)
If: a < b then return NSOrderedAscending. The left operand is smaller than the right operand. a > b then return NSOrderedDescending. The left operand is greater than the right operand. a == b then return NSOrderedSame. The operands are equal.
| Modifier and Type | Field and Description |
|---|---|
static long |
Ascending |
static long |
Descending |
static long |
Same |
public static final long Ascending
public static final long Same
public static final long Descending