public class WeakMemoizer<T> extends Object
MoreSuppliers.WeakMemoizingSupplier| Constructor and Description |
|---|
WeakMemoizer() |
| Modifier and Type | Method and Description |
|---|---|
T |
get(java.util.function.Supplier<T> delegate)
Get the value and memoize the result.
|
public T get(java.util.function.Supplier<T> delegate)
delegate - delegate for constructing the value