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