@FunctionalInterface
public interface CheckedBiPredicate<T,U>
BiPredicate that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
static <T,U> java.util.function.BiPredicate<T,U> |
sneaky(CheckedBiPredicate<T,U> predicate) |
|
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<java.lang.Throwable> handler) |
boolean test(T t, U u) throws java.lang.Throwable
t - the first input argumentu - the second input argumenttrue if the input arguments match the predicate,
otherwise falsejava.lang.Throwablestatic <T,U> java.util.function.BiPredicate<T,U> sneaky(CheckedBiPredicate<T,U> predicate)
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<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.