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
-
-
Field Summary
Fields Modifier and Type Field Description private static ShortsINSTANCE-
Fields inherited from class org.assertj.core.internal.Comparables
failures
-
-
Constructor Summary
Constructors Constructor Description Shorts()Shorts(ComparisonStrategy comparisonStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ShortabsDiff(Short actual, Short other)static Shortsinstance()Returns the singleton instance of this class.protected booleanisGreaterThan(Short value, Short other)protected Shortone()protected Shortzero()-
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 Shorts INSTANCE
-
-
Constructor Detail
-
Shorts
Shorts()
-
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:
isGreaterThanin classNumbers<Short>
-
-