public static final class NonNullLazy.Fast<T> extends java.lang.Object implements NonNullLazy<T>
NonNullLazy.Concurrent<T>, NonNullLazy.Fast<T>
Modifier and Type | Field and Description |
---|---|
private T |
instance |
private NonNullSupplier<T> |
supplier |
Modifier | Constructor and Description |
---|---|
private |
Fast(NonNullSupplier<T> supplier) |
Modifier and Type | Method and Description |
---|---|
T |
get() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
concurrentOf, of
private NonNullSupplier<T> supplier
private T instance
private Fast(NonNullSupplier<T> supplier)
@Nonnull public final T get()
get
in interface NonNullSupplier<T>