WebObjects 5.2.3

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.


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 Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.