T - the type parameterpublic class WeakCachedSupplier<T> extends Object implements java.util.function.Supplier<T>
| Constructor and Description |
|---|
WeakCachedSupplier(java.util.function.Supplier<T> fn)
Instantiates a new Weak cached supplier.
|
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
SoftCachedSupplier<T> |
getSoftRef()
Gets soft ref.
|
public WeakCachedSupplier(java.util.function.Supplier<T> fn)
fn - the fn@Nullable public T get()
get in interface java.util.function.Supplier<T>@Nonnull public SoftCachedSupplier<T> getSoftRef()
Copyright © 2018 SimiaCryptus Software. All rights reserved.