Top Description Fields Constructors Methods
org.assertj.core.internal

public Class BigIntegers

extends Numbers<BigInteger>
Class Inheritance
Static Imports
java.math.BigInteger.ONE, .BigInteger.ZERO

Reusable assertions for BigIntegers.

Field Summary

Modifier and TypeField and Description
private static final BigIntegers

Constructor Summary

AccessConstructor and Description
pack-priv
public
BigIntegers(ComparisonStrategy comparisonStrategy)

Method Summary

Modifier and TypeMethod and Description
protected BigInteger
public static BigIntegers

Returns:

the singleton instance of this class based on StandardComparisonStrategy.
instance
()

Returns the singleton instance of this class based on StandardComparisonStrategy.

protected boolean
protected BigInteger
protected BigInteger
Inherited from org.assertj.core.internal.Numbers:
areEqualassertIsBetweenassertIsCloseToassertIsCloseToPercentageassertIsNegativeassertIsNotCloseToassertIsNotCloseToPercentageassertIsNotNegativeassertIsNotPositiveassertIsNotZeroassertIsOneassertIsPositiveassertIsStrictlyBetweenassertIsZeroisGreaterThanOrEqualTo

Field Detail

INSTANCEback to summary
private static final BigIntegers INSTANCE

Constructor Detail

BigIntegersback to summary
pack-priv BigIntegers()
Annotations
@VisibleForTesting
BigIntegersback to summary
public BigIntegers(ComparisonStrategy comparisonStrategy)

Method Detail

absDiffback to summary
protected BigInteger absDiff(BigInteger actual, BigInteger other)

Implements abstract org.assertj.core.internal.Numbers.absDiff.

Annotations
@Override
instanceback to summary
public static BigIntegers instance()

Returns the singleton instance of this class based on StandardComparisonStrategy.

Returns:BigIntegers

the singleton instance of this class based on StandardComparisonStrategy.

isGreaterThanback to summary
protected boolean isGreaterThan(BigInteger value, BigInteger other)

Implements abstract org.assertj.core.internal.Numbers.isGreaterThan.

Annotations
@Override
oneback to summary
protected BigInteger one()

Implements abstract org.assertj.core.internal.Numbers.one.

Annotations
@Override
zeroback to summary
protected BigInteger zero()

Implements abstract org.assertj.core.internal.Numbers.zero.

Annotations
@Override