public final class NStableValueImpl<T> extends Object implements NStableValue<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
computeAndSetIfAbsent(Supplier<T> supplier) |
NElement |
describe() |
T |
get() |
boolean |
isError() |
boolean |
isEvaluated() |
boolean |
isValid() |
void |
reload() |
boolean |
setIfAbsent(T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic void reload()
public T get()
public boolean computeAndSetIfAbsent(Supplier<T> supplier)
computeAndSetIfAbsent in interface NStableValue<T>public boolean setIfAbsent(T value)
setIfAbsent in interface NStableValue<T>public boolean isValid()
isValid in interface NStableValue<T>public boolean isError()
isError in interface NStableValue<T>public boolean isEvaluated()
isEvaluated in interface NStableValue<T>public NElement describe()
describe in interface NElementDescribableCopyright © 2025 vpc open source initiative. All rights reserved.