Not serializable!
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final Supplier | |
| private T |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public T | |
| public boolean | |
| public void |
| memorized | back to summary |
|---|---|
| private boolean memorized | |
| supplier | back to summary |
|---|---|
| private final Supplier<? extends T> supplier | |
| value | back to summary |
|---|---|
| private T value | |
| Lazy | back to summary |
|---|---|
| public Lazy(Supplier<? extends T> supplier) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| get | back to summary |
|---|---|
| public T get() | |
| isMemorized | back to summary |
|---|---|
| public boolean isMemorized() | |
| set | back to summary |
|---|---|
| public void set(T value) | |