Package | Description |
---|---|
net.minecraftforge.common.util |
Modifier and Type | Class and Description |
---|---|
static class |
NonNullLazy.Concurrent<T>
Thread-safe implementation.
|
static class |
NonNullLazy.Fast<T>
Non-thread-safe implementation.
|
Modifier and Type | Method and Description |
---|---|
static <T> NonNullLazy<T> |
NonNullLazy.concurrentOf(NonNullSupplier<T> supplier)
Constructs a thread-safe lazy-initialized object
|
static <T> NonNullLazy<T> |
NonNullLazy.of(NonNullSupplier<T> supplier)
Constructs a lazy-initialized object
|