Package org.assertj.core.util
Class BigIntegerComparator
- java.lang.Object
-
- org.assertj.core.util.NullSafeComparator<T>
-
- org.assertj.core.util.AbstractComparableNumberComparator<java.math.BigInteger>
-
- org.assertj.core.util.BigIntegerComparator
-
- All Implemented Interfaces:
java.util.Comparator<java.math.BigInteger>
public class BigIntegerComparator extends AbstractComparableNumberComparator<java.math.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
-
-
-
-
Field Detail
-
BIG_INTEGER_COMPARATOR
public static final BigIntegerComparator BIG_INTEGER_COMPARATOR
an instance ofBigIntegerComparator
.
-
-