abstract class NullSafeComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
| Constructor and Description |
|---|
NullSafeComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2) |
protected abstract int |
compareNonNull(T o1,
T o2) |