org.glassfish.gmbal.generic
Class NaturalComparator<T>
java.lang.Object
org.glassfish.gmbal.generic.NaturalComparator<T>
- All Implemented Interfaces:
- Serializable, Comparator<T>
public class NaturalComparator<T>
- extends Object
- implements Serializable, Comparator<T>
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NaturalComparator
public NaturalComparator()
compare
public int compare(T obj1,
T obj2)
- Specified by:
compare in interface Comparator<T>
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.