Package org.assertj.core.util
Class BigIntegerComparator
java.lang.Object
org.assertj.core.util.AbstractComparableNumberComparator<BigInteger>
org.assertj.core.util.BigIntegerComparator
- All Implemented Interfaces:
Comparator<BigInteger>
A
Is useful if ones wants to use BigInteger assertions based on
BigInteger Comparator based on BigInteger.compareTo(BigInteger).Is useful if ones wants to use BigInteger assertions based on
BigInteger.compareTo(BigInteger) instead of
BigInteger.equals(Object) method.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BigIntegerComparatoran instance ofBigIntegerComparator. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.assertj.core.util.AbstractComparableNumberComparator
compareNonNullMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
BIG_INTEGER_COMPARATOR
an instance ofBigIntegerComparator.
-
-
Constructor Details
-
BigIntegerComparator
public BigIntegerComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<T>
-