replace method
Replaces any existing associations(s) involving key and value.
If an association involving key
or value
exists in the map, it is
removed.
Implementation
@override
void replace(K key, V value) {
_add(key, value, true);
}
Replaces any existing associations(s) involving key and value.
If an association involving key
or value
exists in the map, it is
removed.
@override
void replace(K key, V value) {
_add(key, value, true);
}