T - the generic typepublic class HashCodeComparator<T> extends Object implements Comparator<T>, Serializable
| Constructor and Description |
|---|
HashCodeComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T object,
T compareWithObject)
Compare two Objects by the hashcode.
|
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 object, T compareWithObject)
compare in interface Comparator<T>object - One Object.compareWithObject - The other Object to compare.Comparator.compare(Object, Object)Copyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.