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

public Interface CheckedSupplier<T>

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

A Supplier that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

a result
get
()

Gets a result.

public static <T> Supplier<T>
sneaky(CheckedSupplier<T> supplier)

public static <T> Supplier<T>
public static <T> Supplier<T>

Method Detail

getback to summary
public T get() throws Throwable

Gets a result.

Returns:T

a result

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