public class BigIntegerComparator extends AbstractComparableNumberComparator<java.math.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() |
compare
public static final BigIntegerComparator BIG_INTEGER_COMPARATOR
BigIntegerComparator
.