java.lang.Object
org.glassfish.grizzly.utils.Holder<E>
- Direct Known Subclasses:
Holder.IntHolder,Holder.LazyHolder
The object holder, which might be used for lazy object initialization.
- Author:
- Alexey Stashok
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Eget()static <T> Holder.LazyHolder<T>lazyHolder(Supplier<T> factory) static Holder.LazyIntHolderlazyIntHolder(Supplier<Integer> factory) static <T> Holder<T>staticHolder(T value) static Holder.IntHolderstaticIntHolder(int value) toString()