Class LongPredicates
- java.lang.Object
-
- org.eclipse.collections.impl.block.factory.primitive.LongPredicates
-
public final class LongPredicates extends Object
Provides a set of common predicates for long values. This file was automatically generated from template file primitivePredicates.stg.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LongPredicatealwaysFalse()static LongPredicatealwaysTrue()static LongPredicateand(LongPredicate one, LongPredicate two)static LongPredicateequal(long expected)static LongPredicategreaterThan(long expected)static LongPredicateisEven()static LongPredicateisOdd()static LongPredicatelessThan(long expected)static LongPredicatenot(LongPredicate negate)static LongPredicateor(LongPredicate one, LongPredicate two)
-
-
-
Method Detail
-
equal
public static LongPredicate equal(long expected)
-
lessThan
public static LongPredicate lessThan(long expected)
-
greaterThan
public static LongPredicate greaterThan(long expected)
-
isEven
public static LongPredicate isEven()
-
isOdd
public static LongPredicate isOdd()
-
alwaysTrue
public static LongPredicate alwaysTrue()
-
alwaysFalse
public static LongPredicate alwaysFalse()
-
and
public static LongPredicate and(LongPredicate one, LongPredicate two)
-
or
public static LongPredicate or(LongPredicate one, LongPredicate two)
-
not
public static LongPredicate not(LongPredicate negate)
-
-