@FunctionalInterface public interface CheckedIntPredicate
IntPredicate that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
static IntPredicate |
sneaky(CheckedIntPredicate predicate) |
|
boolean |
test(int value) |
Evaluates this predicate on the given argument.
|
static IntPredicate |
unchecked(CheckedIntPredicate predicate) |
|
static IntPredicate |
unchecked(CheckedIntPredicate function,
Consumer<Throwable> handler) |
boolean test(int value)
throws Throwable
value - the input argumenttrue if the input argument matches the predicate,
otherwise falseThrowablestatic IntPredicate sneaky(CheckedIntPredicate predicate)
static IntPredicate unchecked(CheckedIntPredicate predicate)
static IntPredicate unchecked(CheckedIntPredicate function, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.