public abstract class AbstractComparableNumberComparator<T extends Number & Comparable<T>> extends Object
| Constructor and Description |
|---|
AbstractComparableNumberComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2) |
int |
compareNonNull(T number1,
T number2) |
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 o1,
T o2)
compare in interface Comparator<T>Copyright © 2014–2018 AssertJ. All rights reserved.