Package org.cometd.oort
Class OortMap.Entry<K,V>
java.lang.Object
org.cometd.oort.OortMap.Entry<K,V>
- Type Parameters:
K
- the key typeV
- the value type
public static class OortMap.Entry<K,V> extends Object
A triple that holds the key, the previous value and the new value, used to notify entry updates:
(key, oldValue, newValue)
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description K
getKey()
V
getNewValue()
V
getOldValue()
String
toString()
-
Constructor Details
-
Method Details
-
getKey
- Returns:
- the key
-
getOldValue
- Returns:
- the value before the change, may be null
-
getNewValue
- Returns:
- the value after the change, may be null
-
toString
-