T - type of value heldpublic class DynamicValue<T> extends Object
set(Object) It also allows attaching listeners (package level access),
and takes care of notifying them when the held value changes.| Constructor and Description |
|---|
DynamicValue(T mValue) |
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Retrieves the current value
|
void |
set(T value)
Sets current value and notifies all the attached listeners
|