public final class LazyInitializer<T> extends Object implements Supplier<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
static <T> LazyInitializer<T> |
of(Supplier<T> supplier) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoThrowablepublic final T get()
get in interface Throwables.Supplier<T,RuntimeException>get in interface Supplier<T>public static <T> LazyInitializer<T> of(Supplier<T> supplier)
T - supplier - Copyright © 2021. All rights reserved.