public abstract class LazyInitializer<V>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private V |
value
The value that results on the
init() call. |
| Constructor and Description |
|---|
LazyInitializer() |
| Modifier and Type | Method and Description |
|---|---|
V |
get()
Returns the value resulting from the initialization.
|
abstract V |
init()
Initializes the value.
|