public class Shorts extends Numbers<Short> implements WholeNumbers<Short>
Shorts.| Constructor and Description |
|---|
Shorts(ComparisonStrategy comparisonStrategy) |
| Modifier and Type | Method and Description |
|---|---|
protected Short |
absDiff(Short actual,
Short other) |
static Shorts |
instance()
Returns the singleton instance of this class.
|
boolean |
isEven(Short number) |
protected boolean |
isGreaterThan(Short value,
Short other) |
protected Short |
one() |
protected Short |
zero() |
areEqual, assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero, isGreaterThanOrEqualToareEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsAfter, assertIsAfterOrEqualTo, assertIsBefore, assertIsBeforeOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, equals, getComparator, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitassertIsEven, assertIsOdd, isOddpublic Shorts(ComparisonStrategy comparisonStrategy)
public static Shorts instance()
protected boolean isGreaterThan(Short value, Short other)
isGreaterThan in class Numbers<Short>public boolean isEven(Short number)
isEven in interface WholeNumbers<Short>Copyright © 2025. All rights reserved.