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

public Interface CheckedBiFunction<T, U, R>

Known Direct Subinterfaces
org.jooq.lambda.fi.util.function.CheckedBinaryOperator
Annotations
@FunctionalInterface
Imports
java.util.function.BiFunction, .Consumer, org.jooq.lambda.Sneaky, .Unchecked

A BiFunction that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public R

Returns:

the function result
apply
(T
the first function argument
t
,
U
the second function argument
u
)

Applies this function to the given arguments.

public static <T, U, R> BiFunction<T, U, R>
sneaky(CheckedBiFunction<T, U, R> function)

public static <T, U, R> BiFunction<T, U, R>
unchecked(CheckedBiFunction<T, U, R> function)

public static <T, U, R> BiFunction<T, U, R>
unchecked(CheckedBiFunction<T, U, R> function, Consumer<Throwable> handler)

Method Detail

applyback to summary
public R apply(T t, U u) throws Throwable

Applies this function to the given arguments.

Parameters
t:T

the first function argument

u:U

the second function argument

Returns:R

the function result

sneakyback to summary
public static <T, U, R> BiFunction<T, U, R> sneaky(CheckedBiFunction<T, U, R> function)
See Also
Sneaky#biFunction(CheckedBiFunction)
uncheckedback to summary
public static <T, U, R> BiFunction<T, U, R> unchecked(CheckedBiFunction<T, U, R> function)
See Also
Unchecked#biFunction(CheckedBiFunction)
uncheckedback to summary
public static <T, U, R> BiFunction<T, U, R> unchecked(CheckedBiFunction<T, U, R> function, Consumer<Throwable> handler)
See Also
Unchecked#biFunction(CheckedBiFunction, Consumer)