Comparator<BigInteger>
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 | Description |
---|---|---|
static BigIntegerComparator |
BIG_INTEGER_COMPARATOR |
an instance of
BigIntegerComparator . |
Constructor | Description |
---|---|
BigIntegerComparator() |
compare
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final BigIntegerComparator BIG_INTEGER_COMPARATOR
BigIntegerComparator
.Copyright © 2014–2019. All rights reserved.