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

public Interface CheckedBiConsumer<T, U>

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

A BiConsumer that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public void
accept(T
the first input argument
t
,
U
the second input argument
u
)

Performs this operation on the given arguments.

public static <T, U> BiConsumer<T, U>
sneaky(CheckedBiConsumer<T, U> consumer)

public static <T, U> BiConsumer<T, U>
unchecked(CheckedBiConsumer<T, U> consumer)

public static <T, U> BiConsumer<T, U>
unchecked(CheckedBiConsumer<T, U> consumer, Consumer<Throwable> handler)

Method Detail

acceptback to summary
public void accept(T t, U u) throws Throwable

Performs this operation on the given arguments.

Parameters
t:T

the first input argument

u:U

the second input argument

sneakyback to summary
public static <T, U> BiConsumer<T, U> sneaky(CheckedBiConsumer<T, U> consumer)
See Also
Sneaky#biConsumer(CheckedBiConsumer)
uncheckedback to summary
public static <T, U> BiConsumer<T, U> unchecked(CheckedBiConsumer<T, U> consumer)
See Also
Unchecked#biConsumer(CheckedBiConsumer)
uncheckedback to summary
public static <T, U> BiConsumer<T, U> unchecked(CheckedBiConsumer<T, U> consumer, Consumer<Throwable> handler)
See Also
Unchecked#biConsumer(CheckedBiConsumer, Consumer)