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