Package apple.foundation.enums
Class NSComparisonResult
- java.lang.Object
-
- apple.foundation.enums.NSComparisonResult
-
public final class NSComparisonResult extends java.lang.ObjectThese constants are used to indicate how items in a request are ordered, from the first one given in a method invocation or function call to the last (that is, left to right in code). 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.
-
-
Field Summary
Fields Modifier and Type Field Description static longAscendingstatic longDescendingstatic longSame
-
-
-
Field Detail
-
Ascending
public static final long Ascending
- See Also:
- Constant Field Values
-
Same
public static final long Same
- See Also:
- Constant Field Values
-
Descending
public static final long Descending
- See Also:
- Constant Field Values
-
-