Interface LongPredicate
- All Superinterfaces:
LongPredicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LongPredicateDeprecated.prefer simple inlined lambda for claritystatic final LongPredicateDeprecated.prefer simple inlined lambda for clarity -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(long input) Returns the result of applying this predicate toinput.Methods inherited from interface LongPredicate
and, negate, or
-
Field Details
-
TRUE
Deprecated.prefer simple inlined lambda for clarityLongPredicatethat always returns true. -
FALSE
Deprecated.prefer simple inlined lambda for clarityLongPredicatethat always returns false.
-
-
Method Details
-
test
boolean test(long input) Returns the result of applying this predicate toinput.- Specified by:
testin interfaceLongPredicate- Parameters:
input- long value- Returns:
- true
-