com.webobjects.eocontrol
Interface EOSortOrdering.Comparison
- Enclosing interface:
- 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
public int compareAscending(Object other)
compareCaseInsensitiveAscending
public int compareCaseInsensitiveAscending(Object other)
compareCaseInsensitiveDescending
public int compareCaseInsensitiveDescending(Object other)
compareDescending
public int compareDescending(Object other)
Copyright © 2004 Apple Computer, Inc.