V
- atomic value typepublic final class AtomicValueEvent<V> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AtomicValueEvent.Type
AtomicValueEvent type.
|
Constructor and Description |
---|
AtomicValueEvent(String name,
V newValue,
V oldValue)
Creates a new event object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
Returns the AtomicValue name.
|
V |
newValue()
Returns the newly set value.
|
V |
oldValue()
Returns the old replaced value.
|
String |
toString() |
AtomicValueEvent.Type |
type()
Returns the type of the event.
|
public String name()
public AtomicValueEvent.Type type()
public V newValue()
public V oldValue()