Package org.wildfly.clustering.function
Interface LongPredicate
- All Superinterfaces:
LongPredicate
- All Known Implementing Classes:
LongPredicate.SimpleLongPredicate
An enhanced long predicate.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LongPredicatestatic final LongPredicatestatic final LongPredicatestatic final LongPredicatestatic final LongPredicate -
Method Summary
Modifier and TypeMethodDescriptiondefault LongPredicateand(LongPredicate other) default LongPredicatemap(LongUnaryOperator mapper) Returns a predicate that applies the specified mapping to its argument before evaluating.default <V> Predicate<V>map(ToLongFunction<V> mapper) Returns a predicate that applies the specified mapping to its argument before evaluating.default LongPredicatenegate()default LongPredicateor(LongPredicate other) Methods inherited from interface java.util.function.LongPredicate
test
-
Field Details
-
ALWAYS
-
NEVER
-
ZERO
-
POSITIVE
-
NEGATIVE
-
-
Method Details
-
and
- Specified by:
andin interfaceLongPredicate
-
negate
- Specified by:
negatein interfaceLongPredicate
-
or
- Specified by:
orin interfaceLongPredicate
-
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
-