WebObjects 5.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

public int compareAscending(Object other)

compareCaseInsensitiveAscending

public int compareCaseInsensitiveAscending(Object other)

compareCaseInsensitiveDescending

public int compareCaseInsensitiveDescending(Object other)

compareDescending

public int compareDescending(Object other)

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.