public class BigIntegerComparator extends AbstractComparableNumberComparator<BigInteger>
BigInteger Comparator based on BigInteger.compareTo(BigInteger).BigInteger.compareTo(BigInteger) instead of
BigInteger.equals(Object) method.| Modifier and Type | Field and Description |
|---|---|
static BigIntegerComparator |
BIG_INTEGER_COMPARATOR
an instance of
BigIntegerComparator. |
| Constructor and Description |
|---|
BigIntegerComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2) |
compareNonNullclone, 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 static final BigIntegerComparator BIG_INTEGER_COMPARATOR
BigIntegerComparator.public int compare(T o1,
T o2)
compare in interface Comparator<T>Copyright © 2014–2019 AssertJ. All rights reserved.