T - public class NullSafeComparableComparator<T extends Comparable<T>> extends Object implements Comparator<T>, Serializable
| Constructor and Description |
|---|
NullSafeComparableComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T obj1,
T obj2) |
clone, 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 int compare(T obj1, T obj2)
compare in interface Comparator<T extends Comparable<T>>Copyright © 2007–2015 Mysema Ltd. All rights reserved.