public abstract class AbstractObjectComparator<T> extends Object implements Comparator<Object>
| Constructor and Description |
|---|
AbstractObjectComparator(Class<T> cls) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2) |
protected int |
compareClasses(Class<?> c1,
Class<?> c2) |
protected abstract int |
compareValues(T v1,
T v2) |
protected T |
tryCast(Object obj) |
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, thenComparingLongCopyright © 2012–2022. All rights reserved.