src/main/java/org/jivesoftware/smack/util/collections/AbstractHashedMap.java
protected void updateEntry(HashEntry<K, V> entry, V newValue) {
        entry.setValue(newValue);
    }
protected void updateEntry(HashEntry<K, V> entry, V newValue) {
        entry.setValue(newValue);
    }
Updates an existing key-value mapping to change the value.
<p/>
This implementation calls <code>setValue()</code> on the entry.
Subclasses could override to handle changes to the map.

@param entry
the entry to update
@param newValue
the new value to store