- 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 LongPredicate
sneaky
(CheckedLongPredicate predicate) boolean
test
(long value) Evaluates this predicate on the given argument.static LongPredicate
unchecked
(CheckedLongPredicate predicate) static LongPredicate
unchecked
(CheckedLongPredicate function, Consumer<Throwable> handler)
-
Method Details
-
test
Evaluates this predicate on the given argument.- Parameters:
value
- the input argument- Returns:
true
if the input argument matches the predicate, otherwisefalse
- Throws:
Throwable
-
sneaky
-
unchecked
-
unchecked
-