public interface LazyValue<T> extends Value<T>
value.
Instances of this interface are initialized lazily during the first call to their
value retrieval method. Information about the initialization state
of a LazyValue instance is available via isInitialized() method.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInitialized()
Check if the lazy value has been initialized already (i.e.
|
boolean isInitialized()
Value.get() method
has already been called previously) or not.true if the lazy value has already been initialized, false otherwise.Copyright © 2012–2025 Oracle Corporation. All rights reserved.