ThrowSupplier<T> Interface

Type Parameters

T

The type of the Supplier return value.

public interface ThrowSupplier<T>

A Supplier that throws.

Method Summary

Modifier and Type Method and Description
abstract T get()

Gets a result.

Method Details

get

public abstract T get()

Gets a result.

Returns:

a result

Throws:

java.lang.Throwable - Any exception

Applies to