T - Return type.E - The kind of thrown exception or error.@FunctionalInterface
public interface FailableSupplier<T,E extends java.lang.Throwable>
Supplier that declares a Throwable.| Modifier and Type | Field and Description |
|---|---|
static FailableSupplier |
NUL
Returns the singleton supplier that always returns null.
|
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Supplies an object
|
static <T,E extends java.lang.Exception> |
nul()
Returns the singleton supplier that always returns null.
|
static final FailableSupplier NUL
This supplier never throws an exception.
static <T,E extends java.lang.Exception> FailableSupplier<T,E> nul()
This supplier never throws an exception.
T - Supplied type.E - The kind of thrown exception or error.Copyright © 2010 - 2024 Adobe. All Rights Reserved