Package org.assertj.core.internal
Class Integers
- java.lang.Object
-
- org.assertj.core.internal.Comparables
-
- org.assertj.core.internal.Numbers<Integer>
-
- org.assertj.core.internal.Integers
-
-
Field Summary
Fields Modifier and Type Field Description private static IntegersINSTANCE-
Fields inherited from class org.assertj.core.internal.Comparables
failures
-
-
Constructor Summary
Constructors Constructor Description Integers()Integers(ComparisonStrategy comparisonStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IntegerabsDiff(Integer actual, Integer other)static Integersinstance()Returns the singleton instance of this class based onStandardComparisonStrategy.protected booleanisGreaterThan(Integer value, Integer other)protected Integerone()protected Integerzero()-
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 Integers INSTANCE
-
-
Constructor Detail
-
Integers
Integers()
-
Integers
public Integers(ComparisonStrategy comparisonStrategy)
-
-
Method Detail
-
instance
public static Integers instance()
Returns the singleton instance of this class based onStandardComparisonStrategy.- Returns:
- the singleton instance of this class based on
StandardComparisonStrategy.
-
isGreaterThan
protected boolean isGreaterThan(Integer value, Integer other)
- Specified by:
isGreaterThanin classNumbers<Integer>
-
-