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,
AtomicValueEvent.Type type,
V value)
Creates a new event object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
Returns the AtomicValue name.
|
String |
toString() |
AtomicValueEvent.Type |
type()
Returns the type of the event.
|
V |
value()
Returns the new updated value.
|
public AtomicValueEvent(String name, AtomicValueEvent.Type type, V value)
name - AtomicValue nametype - the type of the eventvalue - the new valuepublic String name()
public AtomicValueEvent.Type type()
public V value()
Copyright © 2015. All rights reserved.