private static final class Util.ForwardComparator extends Object implements Comparator<Comparable<Object>>
Collections.reverseOrder()
for a
reverse comparator.Modifier | Constructor and Description |
---|---|
private |
ForwardComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Comparable<Object> o1,
Comparable<Object> o2) |
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 int compare(Comparable<Object> o1, Comparable<Object> o2)
compare
in interface Comparator<Comparable<Object>>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.