public abstract class Lazy<E> extends 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(Supplier<E> fn) |