T - The type to be lazy initialized.public class Lazy<T> extends Object implements Serializable
| Constructor and Description | 
|---|
| Lazy(SerializableSupplier<T> init) | 
| Modifier and Type | Method and Description | 
|---|---|
| T | get() | 
| boolean | isInitialized() | 
| void | reset(SerializableSupplier<T> init) | 
| void | reset(T value) | 
public Lazy(SerializableSupplier<T> init)
public void reset(SerializableSupplier<T> init)
public void reset(T value)
public T get()
public boolean isInitialized()
Copyright © 2020. All rights reserved.