This is a functional interface and can be used as the assignment target for a lambda expression or method reference.
| Modifier and Type | Method and Description |
|---|---|
| public static < The type of the function output. T> Supplier | Returns: Ajava.util.function.Supplier which wraps the specified
Supplier.The wrapped)Supplier to wrap. Must not be null.Returns a |
| public static < The type of the function output. T> Supplier | Returns: Ajava.util.function.Supplier which wraps the specified
Supplier and the specified value.The wrapped, T Supplier to wrap. Must not be null.The value to return if the specified orElse)Supplier
throws an Exception.Returns a |
| public static < The type of the function output. T> Supplier | Returns: Ajava.util.function.Supplier which wraps the specified
Supplier and the specified
java.util.function.Supplier.The wrapped, Supplier<? extends T> Supplier to wrap. Must not be null.The orElseGet)java.util.function.Supplier to call for a
return value if the specified Supplier throws an
Exception.Returns a |
| public static < The type of the function output. T> Supplier | Returns: ASupplier which wraps the specified
java.util.Supplier.Function.The wrapped)java.util.function.Supplier to wrap. Must not
be null.Returns a |
| public T |
| asJavaSupplier | back to summary |
|---|---|
| public static <T> Supplier Returns a
The returned | |
| asJavaSupplierOrElse | back to summary |
|---|---|
| public static <T> Supplier Returns a
If the the specified | |
| asJavaSupplierOrElseGet | back to summary |
|---|---|
| public static <T> Supplier Returns a
If the the specified
| |
| asSupplier | back to summary |
|---|---|
| public static <T> Supplier Returns a | |
| get | back to summary |
|---|---|
| public T get() throws Exception Returns a value.
| |