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
Modifier and Type Method Description static IntPredicate
alwaysFalse()
static IntPredicate
alwaysTrue()
static IntPredicate
and(IntPredicate one, IntPredicate two)
static IntPredicate
equal(int expected)
static IntPredicate
greaterThan(int expected)
static IntPredicate
isEven()
static IntPredicate
isOdd()
static IntPredicate
lessThan(int expected)
static IntPredicate
not(IntPredicate negate)
static IntPredicate
or(IntPredicate one, IntPredicate two)