T - Type of the value to lazy initializepublic class DefaultInitializer<T> extends Object implements Initializer<T>
Initializer implementation.| Constructor and Description |
|---|
DefaultInitializer(Supplier<T> initializer)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Gets the value, initializing it if the value is not already initialized before returning to caller.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, usingpublic T get()
Initializerget in interface Initializer<T>Copyright © 2019 The Holon Platform. All rights reserved.