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