Top Description Methods
org.jooq.lambda.fi.util.function

public Interface CheckedBiPredicate<T, U>

Annotations
@FunctionalInterface
Imports
java.util.function.BiPredicate, .Consumer, org.jooq.lambda.Sneaky, .Unchecked

A BiPredicate that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public static <T, U> BiPredicate<T, U>
sneaky(CheckedBiPredicate<T, U> predicate)

public boolean

Returns:

true if the input arguments match the predicate, otherwise false
test
(T
the first input argument
t
,
U
the second input argument
u
)

Evaluates this predicate on the given arguments.

public static <T, U> BiPredicate<T, U>
unchecked(CheckedBiPredicate<T, U> predicate)

public static <T, U> BiPredicate<T, U>
unchecked(CheckedBiPredicate<T, U> predicate, Consumer<Throwable> handler)

Method Detail

sneakyback to summary
public static <T, U> BiPredicate<T, U> sneaky(CheckedBiPredicate<T, U> predicate)
See Also
Sneaky#biPredicate(CheckedBiPredicate)
testback to summary
public boolean test(T t, U u) throws Throwable

Evaluates this predicate on the given arguments.

Parameters
t:T

the first input argument

u:U

the second input argument

Returns:boolean

true if the input arguments match the predicate, otherwise false

uncheckedback to summary
public static <T, U> BiPredicate<T, U> unchecked(CheckedBiPredicate<T, U> predicate)
See Also
Unchecked#biPredicate(CheckedBiPredicate)
uncheckedback to summary
public static <T, U> BiPredicate<T, U> unchecked(CheckedBiPredicate<T, U> predicate, Consumer<Throwable> handler)
See Also
Unchecked#biPredicate(CheckedBiPredicate, Consumer)