public class LazyResetable<T> extends Lazy<T>
Constructor and Description |
---|
LazyResetable(Supplier<T> supplier)
Creates a Lazy using SUPPLIER.
|
Modifier and Type | Method and Description |
---|---|
boolean |
created() |
protected T |
getInternal()
Helper to avoid synchronizing
Lazy.get() . |
void |
reset()
Resets the LazyResetable.
|
public boolean created()
protected T getInternal()
Lazy
Lazy.get()
.getInternal
in class Lazy<T>
public void reset()
Lazy.get()
is called.Copyright © 2019. All rights reserved.