Package org.wildfly.clustering.function
Interface IntPredicate
- All Superinterfaces:
IntPredicate
- All Known Implementing Classes:
IntPredicate.SimpleIntPredicate
An enhanced integer predicate.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IntPredicatestatic final IntPredicatestatic final IntPredicatestatic final IntPredicatestatic final IntPredicate -
Method Summary
Modifier and TypeMethodDescriptiondefault IntPredicateand(IntPredicate other) default IntPredicatemap(IntUnaryOperator mapper) Returns a predicate that applies the specified mapping to its argument before evaluating.default <V> Predicate<V>map(ToIntFunction<V> mapper) Returns a predicate that applies the specified mapping to its argument before evaluating.default IntPredicatenegate()default IntPredicateor(IntPredicate other) Methods inherited from interface java.util.function.IntPredicate
test
-
Field Details
-
ALWAYS
-
NEVER
-
ZERO
-
POSITIVE
-
NEGATIVE
-
-
Method Details
-
and
- Specified by:
andin interfaceIntPredicate
-
negate
- Specified by:
negatein interfaceIntPredicate
-
or
- Specified by:
orin interfaceIntPredicate
-
map
Returns a predicate that applies the specified mapping to its argument before evaluating.- Parameters:
mapper-- Returns:
- a mapped predicate
-
map
Returns a predicate that applies the specified mapping to its argument before evaluating.- Type Parameters:
V- the mapped type- Parameters:
mapper-- Returns:
- a mapped predicate
-