Package | Description |
---|---|
org.osgi.util.function |
Function Package Version 1.2.
|
Modifier and Type | Method and Description |
---|---|
static <T> Supplier<T> |
Supplier.asSupplier(Supplier<T> wrapped)
Returns a
Supplier which wraps the specified
java.util.function.Supplier . |
Modifier and Type | Method and Description |
---|---|
static <T> Supplier<T> |
Supplier.asJavaSupplier(Supplier<T> wrapped)
Returns a
java.util.function.Supplier which wraps the specified
Supplier and throws any thrown exceptions. |
static <T> Supplier<T> |
Supplier.asJavaSupplierOrElse(Supplier<T> wrapped,
T orElse)
Returns a
java.util.function.Supplier which wraps the specified
Supplier and the specified value. |
static <T> Supplier<T> |
Supplier.asJavaSupplierOrElseGet(Supplier<T> wrapped,
Supplier<? extends T> orElseGet)
Returns a
java.util.function.Supplier which wraps the specified
Supplier and the specified java.util.function.Supplier . |
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0