Class Values.LazyUnsafeValueImpl<T,E extends Throwable>
java.lang.Object
org.glassfish.jersey.internal.util.collection.Values.LazyUnsafeValueImpl<T,E>
- All Implemented Interfaces:
LazyUnsafeValue<T,
,E> UnsafeValue<T,
E>
- Enclosing class:
- Values
private static class Values.LazyUnsafeValueImpl<T,E extends Throwable>
extends Object
implements LazyUnsafeValue<T,E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final UnsafeValue<T,
E> private final Object
private UnsafeValue<T,
E> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lock
-
delegate
-
value
-
-
Constructor Details
-
LazyUnsafeValueImpl
-
-
Method Details
-
get
Description copied from interface:UnsafeValue
Get the stored value. -
isInitialized
public boolean isInitialized()Description copied from interface:LazyUnsafeValue
Check if the lazy value has been initialized already (i.e. itsUnsafeValue.get()
method has already been called previously) or not.- Specified by:
isInitialized
in interfaceLazyUnsafeValue<T,
E extends Throwable> - Returns:
true
if the lazy value has already been initialized,false
otherwise.
-
equals
-
hashCode
public int hashCode() -
toString
-