K
- the type of keys maintained by the map we are observingV
- the type of mapped valuespublic class MapChangeEvent<K,V> extends Object implements Serializable
Map
.Constructor and Description |
---|
MapChangeEvent(Map<K,V> source,
K key,
V oldValue,
V newValue)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
K |
getKey()
Gets the key that has is value changed.
|
V |
getNewValue()
Gets the new value.
|
V |
getOldValue()
Gets the old value.
|
Map<K,V> |
getSource()
Gets the source on which the change was applied.
|
int |
hashCode() |
String |
toString() |
public Map<K,V> getSource()
public K getKey()
public V getOldValue()
public V getNewValue()
Copyright © 2008–2021 Norconex Inc.. All rights reserved.