public abstract static class Func.XII.D<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜> extends java.lang.Object implements Func.XII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜>
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) |
Thunk<Func.XII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜>> |
asThunk()
Tell if this is really a
Thunk |
Func.XII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜> |
call()
Compute the value if it is needed.
|
boolean |
isShared()
Tell if this is shared.
|
public Func.XII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜> call()
Lazy
Compute the value if it is needed.
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.XII<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖,𝓗,𝓘,𝓙,𝓚,𝓛,𝓜>> asThunk()
Lazy
Tell if this is really a Thunk