Class IntPredicates
- java.lang.Object
-
- org.eclipse.collections.impl.block.factory.primitive.IntPredicates
-
public final class IntPredicates extends Object
Provides a set of common predicates for int 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 IntPredicatealwaysFalse()static IntPredicatealwaysTrue()static IntPredicateand(IntPredicate one, IntPredicate two)static IntPredicateequal(int expected)static IntPredicategreaterThan(int expected)static IntPredicateisEven()static IntPredicateisOdd()static IntPredicatelessThan(int expected)static IntPredicatenot(IntPredicate negate)static IntPredicateor(IntPredicate one, IntPredicate two)
-
-
-
Method Detail
-
equal
public static IntPredicate equal(int expected)
-
lessThan
public static IntPredicate lessThan(int expected)
-
greaterThan
public static IntPredicate greaterThan(int expected)
-
isEven
public static IntPredicate isEven()
-
isOdd
public static IntPredicate isOdd()
-
alwaysTrue
public static IntPredicate alwaysTrue()
-
alwaysFalse
public static IntPredicate alwaysFalse()
-
and
public static IntPredicate and(IntPredicate one, IntPredicate two)
-
or
public static IntPredicate or(IntPredicate one, IntPredicate two)
-
not
public static IntPredicate not(IntPredicate negate)
-
-