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) |
public final T get()
get in interface Supplier<T>get in interface Throwables.Supplier<T,RuntimeException>public static <T> LazyInitializer<T> of(Supplier<T> supplier)
T - supplier - Copyright © 2021. All rights reserved.