@FunctionalInterface public interface CheckedLongPredicate
LongPredicate that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
boolean |
test(long value)
Evaluates this predicate on the given argument.
|
static java.util.function.LongPredicate |
unchecked(CheckedLongPredicate predicate) |
static java.util.function.LongPredicate |
unchecked(CheckedLongPredicate function,
java.util.function.Consumer<Throwable> handler) |
boolean test(long value)
throws Throwable
value - the input argumenttrue if the input argument matches the predicate,
otherwise falseThrowablestatic java.util.function.LongPredicate unchecked(CheckedLongPredicate predicate)
Unchecked#longPredicate(CheckedLongPredicate)}static java.util.function.LongPredicate unchecked(CheckedLongPredicate function, java.util.function.Consumer<Throwable> handler)
Unchecked#longPredicate(CheckedLongPredicate, Consumer)}Copyright © 2016. All Rights Reserved.