- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
LongPredicate that allows for checked exceptions.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionstatic LongPredicatesneaky(CheckedLongPredicate predicate) booleantest(long value) Evaluates this predicate on the given argument.static LongPredicateunchecked(CheckedLongPredicate predicate) static LongPredicateunchecked(CheckedLongPredicate function, Consumer<Throwable> handler)
-
Method Details
-
test
Evaluates this predicate on the given argument.- Parameters:
value- the input argument- Returns:
trueif the input argument matches the predicate, otherwisefalse- Throws:
Throwable
-
sneaky
-
unchecked
-
unchecked
-