public final class ComputedValue<T> extends Node
It should be notes that the ComputedValue is backed by both an Observable and an Observer. The id's of each of these nodes differ but they share the name and thus while debugging appear to be a single element.
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose the ComputedValue so that it can no longer be used.
|
T |
get()
Return the computed value, calculating the value if it is not up to date.
|
boolean |
isDisposed()
Return true if dispose() has been called on object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asDisposable, dispose, isDisposed
public T get()
public void dispose()
public boolean isDisposed()