public class BasicWatchedDouble extends AbstractWatchedValue<java.lang.Double> implements WatchedDouble
| Constructor and Description |
|---|
BasicWatchedDouble(double initialValue) |
| Modifier and Type | Method and Description |
|---|---|
double |
get() |
WatchedDouble |
guard(DoublePredicate test) |
WatchedDouble |
lock() |
void |
set(double value) |
onBeforeChange, onChanged, whenChanged, whenGoingToChangeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofwhenChanged, whenGoingToChangepublic double get()
get in interface WatchedDoublepublic void set(double value)
set in interface WatchedDoublepublic WatchedDouble lock()
lock in interface WatchedDoublelock in interface WatchedValue<java.lang.Double>public WatchedDouble guard(DoublePredicate test)
guard in interface WatchedDouble