Implemented by:
- EONullValue
- Package:
- com.apple.client.eocontrol
The EOSortOrderingComparison interface defines methods for comparing values. These methods are used for sorting value objects.
Note: This interface doesn't exist in the Yellow Box package, com.apple.yellow.eocontrol |
Support for these methods is provided for String, Number, and Date using EOSortOrdering.ComparisonSupport. EONullValue implements the interface directly. You should implement this interface for any value classes you write that you want to be properly sorted by EOSortOrdering instances.
NSComparator.OrderedAscending
if anObject is
naturally ordered after the receiver, NSComparator.OrderedDescending
if
it's naturally ordered before the receiver, and NSComparator.OrderedSame
if
they're equivalent for ordering purposes.NSComparator.OrderedAscending
if anObject is
naturally ordered-ignoring case-after the receiver, NSComparator.OrderedDescending
if
it's naturally ordered before the receiver, and NSComparator.OrderedSame
if
they're equivalent for ordering purposes.NSComparator.OrderedAscending
if anObject is
naturally ordered-ignoring case- before the receiver, NSComparator.OrderedDescending
if
it's naturally ordered after the
receiver, and NSComparator.OrderedSame
if
they're equivalent for ordering purposes.NSComparator.OrderedAscending
if anObject is
naturally ordered before the receiver, NSComparator.OrderedDescending
if
it's naturally ordered after the
receiver, and NSComparator.OrderedSame
if
they're equivalent for ordering purposes.