public interface Computable<T>
extends java.util.function.Supplier<T>
Supplier
instead.Modifier and Type | Interface and Description |
---|---|
static class |
Computable.NotNullCachedComputable<T>
Deprecated.
Use
NotNullLazyValue ::getValue instead |
static class |
Computable.PredefinedValueComputable<T> |
Modifier and Type | Method and Description |
---|---|
T |
compute() |
default T |
get() |