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