public class NaturalComparator<T>
extends java.lang.Object
implements java.io.Serializable, java.util.Comparator<T>
Constructor and Description |
---|
NaturalComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T obj1,
T obj2) |