| java.lang.Object net.sf.jga.util.ComparableComparator
ComparableComparator | public class ComparableComparator implements Comparator<T>,Serializable(Code) | | Comparator used for objects that extend Comparable. It delegates to the
object's Comparable interface of the object whose class is "least"
derived; ie, if the first object's class is a subclass of the second object's
class, then the second object's comparable interface is used; otherwise the
first object's comparable interface is used.
author: David A. Hall |
Method Summary | |
public int | compare(T x, T y) |
serialVersionUID | final static long serialVersionUID(Code) | | |
compare | public int compare(T x, T y)(Code) | | |
|
|