Package org.assertj.core.internal
Class Shorts
- java.lang.Object
-
- org.assertj.core.internal.Comparables
-
- org.assertj.core.internal.Numbers<Short>
-
- org.assertj.core.internal.Shorts
-
-
Constructor Summary
Constructors Constructor Description Shorts(ComparisonStrategy comparisonStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Short
absDiff(Short actual, Short other)
static Shorts
instance()
Returns the singleton instance of this class.protected boolean
isGreaterThan(Short value, Short other)
protected Short
one()
protected Short
zero()
-
Methods inherited from class org.assertj.core.internal.Numbers
assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero
-
Methods inherited from class org.assertj.core.internal.Comparables
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, getComparator
-
-
-
-
Constructor Detail
-
Shorts
public Shorts(ComparisonStrategy comparisonStrategy)
-
-
Method Detail
-
instance
public static Shorts instance()
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
isGreaterThan
protected boolean isGreaterThan(Short value, Short other)
- Specified by:
isGreaterThan
in classNumbers<Short>
-
-