public class ComparableComparator<T extends java.lang.Comparable<T>>
extends java.lang.Object
implements java.util.Comparator<T>
Modifier and Type | Class and Description |
---|---|
static class |
ComparableComparator.Descending<T extends java.lang.Comparable<T>> |
Constructor and Description |
---|
ComparableComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2) |