public abstract class Lazy<E>
extends java.lang.Object
Constructor and Description |
---|
Lazy() |
Modifier and Type | Method and Description |
---|---|
protected abstract E |
compute() |
static <E> Lazy<E> |
from(E definedElement) |
E |
get() |
E |
getIfDefined() |
static <E> Lazy<E> |
of(java.util.function.Supplier<E> fn) |