public abstract class AtomicCancelableLazyValue<T>
extends java.lang.Object
Constructor and Description |
---|
AtomicCancelableLazyValue() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
compute() |
static <T> AtomicCancelableLazyValue<T> |
createValue(NotNullFactory<? extends T> value) |
T |
getValue() |
boolean |
isComputed() |
public final T getValue()
protected abstract T compute()
public boolean isComputed()
public static <T> AtomicCancelableLazyValue<T> createValue(NotNullFactory<? extends T> value)