public abstract static class Func.XVIII.D<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜,𝓝,𝓞,𝓟,𝓠,𝓡,𝓢> extends java.lang.Object implements Func.XVIII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜,𝓝,𝓞,𝓟,𝓠,𝓡,𝓢>
Constructor and Description |
---|
D() |
Modifier and Type | Method and Description |
---|---|
abstract Lazy<𝓢> |
apply(Lazy<𝓐> a,
Lazy<𝓑> b,
Lazy<𝓒> c,
Lazy<𝓓> d,
Lazy<𝓔> e,
Lazy<𝓕> f,
Lazy<𝓖> g,
Lazy<𝓗> h,
Lazy<𝓘> i,
Lazy<𝓙> j,
Lazy<𝓚> k,
Lazy<𝓛> l,
Lazy<𝓜> m,
Lazy<𝓝> n,
Lazy<𝓞> o,
Lazy<𝓟> p,
Lazy<𝓠> q,
Lazy<𝓡> r) |
Thunk<Func.XVIII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜,𝓝,𝓞,𝓟,𝓠,𝓡,𝓢>> |
asThunk()
Tell if this is really a
Thunk |
Func.XVIII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜,𝓝,𝓞,𝓟,𝓠,𝓡,𝓢> |
call()
Compute the value if it is needed.
|
boolean |
isShared()
Tell if this is shared.
|
public Func.XVIII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜,𝓝,𝓞,𝓟,𝓠,𝓡,𝓢> call()
Lazy
Compute the value if it is needed.
call
in interface Func.XVIII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜,𝓝,𝓞,𝓟,𝓠,𝓡,𝓢>
call
in interface Lazy<Func.XVIII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜,𝓝,𝓞,𝓟,𝓠,𝓡,𝓢>>
call
in interface java.util.concurrent.Callable<Func.XVIII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜,𝓝,𝓞,𝓟,𝓠,𝓡,𝓢>>
Callable.call()
public boolean isShared()
Lazy
Tell if this is shared.
Data and functions whose Lazy.call()
method returns this as well
as simple boxes that just hold a value ready to be supplied and Thunk
s
are considered shared.
But a bare lambda expression is assumed to be in need of sharing. For example:
() -> 42
public Thunk<Func.XVIII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜,𝓝,𝓞,𝓟,𝓠,𝓡,𝓢>> asThunk()
Lazy
Tell if this is really a Thunk