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, wait
equals
Copyright © 2012–2017. All rights reserved.