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
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract E
get()
static <T> Holder.LazyHolder<T>
lazyHolder
(Supplier<T> factory) static Holder.LazyIntHolder
lazyIntHolder
(Supplier<Integer> factory) static <T> Holder<T>
staticHolder
(T value) static Holder.IntHolder
staticIntHolder
(int value) toString()