public class BasicWatchedLong extends AbstractWatchedValue<java.lang.Long> implements WatchedLong
| Constructor and Description |
|---|
BasicWatchedLong(long initialValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
and(long value) |
long |
get() |
WatchedLong |
guard(LongPredicate test) |
WatchedLong |
lock() |
void |
or(long value) |
void |
set(long value) |
onBeforeChange, onChanged, whenChanged, whenGoingToChangeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofwhenChanged, whenGoingToChangepublic long get()
get in interface WatchedLongpublic void set(long value)
set in interface WatchedLongpublic void or(long value)
public void and(long value)
public WatchedLong lock()
lock in interface WatchedLonglock in interface WatchedValue<java.lang.Long>public WatchedLong guard(LongPredicate test)
guard in interface WatchedLong