public interface LazyUnsafeValue<T,E extends Throwable> extends UnsafeValue<T,E>
unsafe value
.
Instances of this interface are initialized lazily during the first call to their
value retrieval method
. Information about the initialization state
of a LazyUnsafeValue
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.
|
get
boolean isInitialized()
UnsafeValue.get()
method
has already been called previously) or not.true
if the lazy value has already been initialized, false
otherwise.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.