Top Inners Constructors Methods
com.fasterxml.jackson.module.blackbird.util

public Class Unchecked

extends Object
Class Inheritance
Imports
java.util.concurrent.Callable, java.util.function.Function, .Supplier

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
public static interface

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <X, T> Function<X, T>
function(CheckedFunction<X, T> checkedFunction)

public static Runnable
public static <T> Supplier<T>
supplier(CheckedSupplier<T> checkedSupplier)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Uncheckedback to summary
private Unchecked()

Method Detail

functionback to summary
public static <X, T> Function<X, T> function(CheckedFunction<X, T> checkedFunction)
runnableback to summary
public static Runnable runnable(Unchecked.CheckedRunnable checkedRunnable)
Annotations
@SuppressWarnings:PMD.DoNotUseThreads
supplierback to summary
public static <T> Supplier<T> supplier(CheckedSupplier<T> checkedSupplier)
com.fasterxml.jackson.module.blackbird.util back to summary

public Interface Unchecked.CheckedRunnable


Method Summary

Modifier and TypeMethod and Description
public void
run()

Method Detail

runback to summary
public void run() throws Throwable
com.fasterxml.jackson.module.blackbird.util back to summary

public Interface Unchecked.SneakyCallable<T>

extends Callable<T>

Method Summary

Modifier and TypeMethod and Description
public T
call()

Redeclares java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Method Detail

callback to summary
public T call()

Redeclares java.util.concurrent.Callable.call.

Doc from java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Returns:T

computed result

Annotations
@Override