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

public Interface CheckedCallable<T>

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

A Callable that allows for checked exceptions.
Author
Zack Young

Method Summary

Modifier and TypeMethod and Description
public T
call()

Run this callable.

public static <T> Callable<T>
sneaky(CheckedCallable<T> callable)

public static <T> Callable<T>
public static <T> Callable<T>

Method Detail

callback to summary
public T call() throws Throwable

Run this callable.

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