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
-
-
Constructor Summary
Constructors Constructor Description Longs(ComparisonStrategy comparisonStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LongabsDiff(Long actual, Long other)static Longsinstance()Returns the singleton instance of this class.protected booleanisGreaterThan(Long value, Long other)protected Longone()protected Longzero()-
Methods inherited from class org.assertj.core.internal.Numbers
assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero
-
Methods inherited from class org.assertj.core.internal.Comparables
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, getComparator
-
-
-
-
Constructor Detail
-
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:
isGreaterThanin classNumbers<Long>
-
-