@FunctionalInterface
public interface CheckedLongPredicate
LongPredicate
that allows for checked exceptions.Modifier and Type | Method | Description |
---|---|---|
static java.util.function.LongPredicate |
sneaky(CheckedLongPredicate predicate) |
|
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<java.lang.Throwable> handler) |
boolean test(long value) throws java.lang.Throwable
value
- the input argumenttrue
if the input argument matches the predicate,
otherwise false
java.lang.Throwable
static java.util.function.LongPredicate sneaky(CheckedLongPredicate predicate)
static java.util.function.LongPredicate unchecked(CheckedLongPredicate predicate)
static java.util.function.LongPredicate unchecked(CheckedLongPredicate function, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.