Package org.assertj.core.internal
Class Longs
- java.lang.Object
-
- org.assertj.core.internal.Comparables
-
- org.assertj.core.internal.Numbers<Long>
-
- org.assertj.core.internal.Longs
-
-
Field Summary
Fields Modifier and Type Field Description private static Longs
INSTANCE
-
Fields inherited from class org.assertj.core.internal.Comparables
failures
-
-
Constructor Summary
Constructors Constructor Description Longs()
Longs(ComparisonStrategy comparisonStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Long
absDiff(Long actual, Long other)
static Longs
instance()
Returns the singleton instance of this class.protected boolean
isGreaterThan(Long value, Long other)
protected Long
one()
protected Long
zero()
-
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 Longs INSTANCE
-
-
Constructor Detail
-
Longs
Longs()
-
Longs
public Longs(ComparisonStrategy comparisonStrategy)
-
-
Method Detail
-
instance
public static Longs instance()
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
isGreaterThan
protected boolean isGreaterThan(Long value, Long other)
- Specified by:
isGreaterThan
in classNumbers<Long>
-
-