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

public Interface CheckedToIntBiFunction<T, U>

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

A ToIntBiFunction that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

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

Applies this function to the given arguments.

public static <T, U> ToIntBiFunction<T, U>
public static <T, U> ToIntBiFunction<T, U>
public static <T, U> ToIntBiFunction<T, U>

Method Detail

applyAsIntback to summary
public int applyAsInt(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:int

the function result

sneakyback to summary
public static <T, U> ToIntBiFunction<T, U> sneaky(CheckedToIntBiFunction<T, U> function)
See Also
Sneaky#toIntBiFunction(CheckedToIntBiFunction)
uncheckedback to summary
public static <T, U> ToIntBiFunction<T, U> unchecked(CheckedToIntBiFunction<T, U> function)
See Also
Unchecked#toIntBiFunction(CheckedToIntBiFunction)
uncheckedback to summary
public static <T, U> ToIntBiFunction<T, U> unchecked(CheckedToIntBiFunction<T, U> function, Consumer<Throwable> handler)
See Also
Unchecked#toIntBiFunction(CheckedToIntBiFunction, Consumer)