@FunctionalInterface public interface CheckedBiPredicate<T,U>
BiPredicate that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
static <T,U> BiPredicate<T,U> |
sneaky(CheckedBiPredicate<T,U> predicate) |
|
boolean |
test(T t,
U u) |
Evaluates this predicate on the given arguments.
|
static <T,U> BiPredicate<T,U> |
unchecked(CheckedBiPredicate<T,U> predicate) |
|
static <T,U> BiPredicate<T,U> |
unchecked(CheckedBiPredicate<T,U> predicate,
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> BiPredicate<T,U> sneaky(CheckedBiPredicate<T,U> predicate)
static <T,U> BiPredicate<T,U> unchecked(CheckedBiPredicate<T,U> predicate)
static <T,U> BiPredicate<T,U> unchecked(CheckedBiPredicate<T,U> predicate, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.