@FunctionalInterface
public interface Producer<T>
| Modifier and Type | Method and Description |
|---|---|
default <R> Producer<R> |
andThen(Function1<T,R> after) |
default <V> Function1<V,T> |
asFunction() |
T |
get() |
default Producer<Either<java.lang.Throwable,T>> |
liftEither() |
default Producer<Option<T>> |
liftOption() |
default Producer<Try<T>> |
liftTry() |
static <T> Producer<T> |
of(Producer<T> reference) |
static <T> Producer<T> |
unit(T value) |