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) |
compareNonNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final BigIntegerComparator BIG_INTEGER_COMPARATOR
BigIntegerComparator
.public int compare(T o1, T o2)
compare
in interface Comparator<T>
Copyright © 2013–2018 AssertJ. All rights reserved.