WebObjects 5.4.2

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.


Method Summary
 int compareAscending(Object other)
           
 int compareCaseInsensitiveAscending(Object other)
           
 int compareCaseInsensitiveDescending(Object other)
           
 int compareDescending(Object other)
           
 

Method Detail

compareAscending

int compareAscending(Object other)

compareDescending

int compareDescending(Object other)

compareCaseInsensitiveAscending

int compareCaseInsensitiveAscending(Object other)

compareCaseInsensitiveDescending

int compareCaseInsensitiveDescending(Object other)

Last updated June 2008

Copyright © 2000-2008 Apple Inc.