@FunctionalInterface public interface CheckedBiPredicate<T,U>
BiPredicate that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
boolean |
test(T t,
U u)
Evaluates this predicate on the given arguments.
|
static <T,U> java.util.function.BiPredicate<T,U> |
unchecked(CheckedBiPredicate<T,U> predicate) |
static <T,U> java.util.function.BiPredicate<T,U> |
unchecked(CheckedBiPredicate<T,U> predicate,
java.util.function.Consumer<Throwable> handler) |
boolean test(T t, U u) throws Throwable
t - the first input argumentu - the second input argumenttrue if the input arguments match the predicate,
otherwise falseThrowablestatic <T,U> java.util.function.BiPredicate<T,U> unchecked(CheckedBiPredicate<T,U> predicate)
Unchecked#biPredicate(CheckedBiPredicate)}static <T,U> java.util.function.BiPredicate<T,U> unchecked(CheckedBiPredicate<T,U> predicate, java.util.function.Consumer<Throwable> handler)
Unchecked#biPredicate(CheckedBiPredicate, Consumer)}Copyright © 2016. All Rights Reserved.