public class RationalComparator<A> extends Object implements Comparator<A>
Constructor and Description |
---|
RationalComparator(Comparator<? super A> base) |
Modifier and Type | Method and Description |
---|---|
int |
compare(A a,
A b) |
static void |
main(String[] args) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public RationalComparator(Comparator<? super A> base)
see also the complete user documentation .