Package org.assertj.core.internal
Class BigIntegers
- java.lang.Object
-
- org.assertj.core.internal.Comparables
-
- org.assertj.core.internal.Numbers<BigInteger>
-
- org.assertj.core.internal.BigIntegers
-
public class BigIntegers extends Numbers<BigInteger>
Reusable assertions for
s.BigInteger
-
-
Field Summary
Fields Modifier and Type Field Description private static BigIntegers
INSTANCE
-
Fields inherited from class org.assertj.core.internal.Comparables
failures
-
-
Constructor Summary
Constructors Constructor Description BigIntegers()
BigIntegers(ComparisonStrategy comparisonStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BigInteger
absDiff(BigInteger actual, BigInteger other)
static BigIntegers
instance()
Returns the singleton instance of this class based onStandardComparisonStrategy
.protected boolean
isGreaterThan(BigInteger value, BigInteger other)
protected BigInteger
one()
protected BigInteger
zero()
-
Methods inherited from class org.assertj.core.internal.Numbers
areEqual, assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero, isGreaterThanOrEqualTo
-
Methods inherited from class org.assertj.core.internal.Comparables
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, checkBoundsValidity, equals, getComparator, hashCode, resetFailures, setFailures, toString
-
-
-
-
Field Detail
-
INSTANCE
private static final BigIntegers INSTANCE
-
-
Constructor Detail
-
BigIntegers
BigIntegers()
-
BigIntegers
public BigIntegers(ComparisonStrategy comparisonStrategy)
-
-
Method Detail
-
instance
public static BigIntegers instance()
Returns the singleton instance of this class based onStandardComparisonStrategy
.- Returns:
- the singleton instance of this class based on
StandardComparisonStrategy
.
-
zero
protected BigInteger zero()
- Specified by:
zero
in classNumbers<BigInteger>
-
one
protected BigInteger one()
- Specified by:
one
in classNumbers<BigInteger>
-
absDiff
protected BigInteger absDiff(BigInteger actual, BigInteger other)
- Specified by:
absDiff
in classNumbers<BigInteger>
-
isGreaterThan
protected boolean isGreaterThan(BigInteger value, BigInteger other)
- Specified by:
isGreaterThan
in classNumbers<BigInteger>
-
-