Class IntPredicates
java.lang.Object
org.eclipse.collections.impl.block.factory.primitive.IntPredicates
Provides a set of common predicates for int values.
This file was automatically generated from template file primitivePredicates.stg.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final IntPredicate
private static final IntPredicate
private static final IntPredicates.IntIsEvenPredicate
private static final IntPredicates.IntIsOddPredicate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IntPredicate
static IntPredicate
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)
-
Field Details
-
IS_EVEN
-
IS_ODD
-
ALWAYS_TRUE
-
ALWAYS_FALSE
-
-
Constructor Details
-
IntPredicates
private IntPredicates()
-
-
Method Details
-
equal
-
lessThan
-
greaterThan
-
isEven
-
isOdd
-
alwaysTrue
-
alwaysFalse
-
and
-
or
-
not
-