Package org.assertj.core.util
Class BigIntegerComparator
- java.lang.Object
-
- org.assertj.core.util.NullSafeComparator<T>
-
- org.assertj.core.util.AbstractComparableNumberComparator<BigInteger>
-
- org.assertj.core.util.BigIntegerComparator
-
- All Implemented Interfaces:
Comparator<BigInteger>
public class BigIntegerComparator extends AbstractComparableNumberComparator<BigInteger>
ABigInteger
Comparator
based onBigInteger.compareTo(BigInteger)
.
Is useful if ones wants to use BigInteger assertions based onBigInteger.compareTo(BigInteger)
instead ofBigInteger.equals(Object)
method.
-
-
Field Summary
Fields Modifier and Type Field Description static BigIntegerComparator
BIG_INTEGER_COMPARATOR
an instance ofBigIntegerComparator
.
-
Constructor Summary
Constructors Constructor Description BigIntegerComparator()
-
Method Summary
-
Methods inherited from class org.assertj.core.util.AbstractComparableNumberComparator
compareNonNull
-
Methods inherited from class org.assertj.core.util.NullSafeComparator
compare
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
BIG_INTEGER_COMPARATOR
public static final BigIntegerComparator BIG_INTEGER_COMPARATOR
an instance ofBigIntegerComparator
.
-
-