public interface Lazy<R>
extends java.util.concurrent.Callable<R>
Modifier and Type | Interface and Description |
---|---|
static class |
Lazy.D<X> |
Modifier and Type | Method and Description |
---|---|
Thunk<R> |
asThunk()
Tell if this is really a
Thunk |
R |
call()
Compute the value if it is needed.
|
boolean |
isShared()
Tell if this is shared.
|