public class VisitingComparator<T> extends DefaultComparator<T>
| Constructor and Description |
|---|
VisitingComparator(Visitor<T,Comparable> visitor) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
_compare(T o1,
T o2)
Arguments
o1 and o2 will be non-null |
compareclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic VisitingComparator(Visitor<T,Comparable> visitor)
protected int _compare(T o1, T o2)
DefaultComparatoro1 and o2 will be non-null_compare in class DefaultComparator<T>Copyright © 2021. All rights reserved.