public class Integers extends Numbers<Integer> implements WholeNumbers<Integer>
Integers.| Constructor and Description |
|---|
Integers(ComparisonStrategy comparisonStrategy) |
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
absDiff(Integer actual,
Integer other) |
static Integers |
instance()
Returns the singleton instance of this class based on
StandardComparisonStrategy. |
boolean |
isEven(Integer number) |
protected boolean |
isGreaterThan(Integer value,
Integer other) |
protected Integer |
one() |
protected Integer |
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 Integers(ComparisonStrategy comparisonStrategy)
public static Integers instance()
StandardComparisonStrategy.StandardComparisonStrategy.protected boolean isGreaterThan(Integer value, Integer other)
isGreaterThan in class Numbers<Integer>public boolean isEven(Integer number)
isEven in interface WholeNumbers<Integer>Copyright © 2025. All rights reserved.