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