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

public Interface CheckedConsumer<T>

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

A Consumer that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public void
accept(T
the input argument
t
)

Performs this operation on the given argument.

public static <T> Consumer<T>
sneaky(CheckedConsumer<T> consumer)

public static <T> Consumer<T>
public static <T> Consumer<T>

Method Detail

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

Performs this operation on the given argument.

Parameters
t:T

the input argument

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