| Modifier and Type | Field and Description |
|---|---|
(package private) Supplier<T> |
delegate |
(package private) boolean |
initialized |
private static long |
serialVersionUID |
(package private) T |
value |
| Constructor and Description |
|---|
MemoizingSupplier(Supplier<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Retrieves an instance of the appropriate type.
|
java.lang.String |
toString() |
transient volatile boolean initialized
@CheckForNull transient T value
private static final long serialVersionUID
public T get()
Supplierget in interface java.util.function.Supplier<T>public java.lang.String toString()
toString in class java.lang.Object