com.webobjects.eocontrol
Interface EOSortOrdering.Comparison
- Enclosing class:
- EOSortOrdering
public static interface EOSortOrdering.Comparison
The Comparison interface defines methods for comparing values. These methods are used for sorting value objects. 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.
compareAscending
int compareAscending(Object other)
compareDescending
int compareDescending(Object other)
compareCaseInsensitiveAscending
int compareCaseInsensitiveAscending(Object other)
compareCaseInsensitiveDescending
int compareCaseInsensitiveDescending(Object other)
Copyright © 2000-2008 Apple Inc.