@FunctionalInterface
public interface Fn0<R>
extends org.jooq.lambda.function.Function0<R>
Modifier and Type | Interface and Description |
---|---|
static interface |
Fn0.FunctionalOperations<R> |
static class |
Fn0.Instances |
static interface |
Fn0.SupplierKind<R> |
Modifier and Type | Method and Description |
---|---|
default <V> Fn0<V> |
andThen(java.util.function.Function<? super R,? extends V> after) |
default <R1> R1 |
fnTo(java.util.function.Function<? super Fn0<R>,? extends R1> reduce) |
default Fn0.FunctionalOperations<R> |
functionOps() |
default Fn0<Maybe<R>> |
lift() |
default Fn0<Future<R>> |
lift(java.util.concurrent.Executor ex) |
default <W extends WitnessType<W>> |
liftF(W witness) |
default Fn0<java.util.Optional<R>> |
liftOpt() |
default Fn0<Try<R,java.lang.Throwable>> |
liftTry() |
default Fn0<R> |
memoize() |
default Fn0<R> |
memoize(Cacheable<R> c) |
static <A> A |
run(Free<Fn0.SupplierKind.µ,A> f) |
static <A> Free<Fn0.SupplierKind.µ,A> |
suspend(Fn0.SupplierKind<Free<Fn0.SupplierKind.µ,A>> f) |
static <T3,R> Fn0<R> |
λ(Fn0<R> triFunc) |
static <T3,R> Fn0<? extends R> |
λv(Fn0<? extends R> triFunc) |
default <W extends WitnessType<W>> AnyMFn0<W,R> liftF(W witness)
default Fn0.FunctionalOperations<R> functionOps()
static <A> Free<Fn0.SupplierKind.µ,A> suspend(Fn0.SupplierKind<Free<Fn0.SupplierKind.µ,A>> f)
static <A> A run(Free<Fn0.SupplierKind.µ,A> f)