add method

void add (K key, V value)
inherited

Adds an association from the given key to the given value.

Implementation

void add(K key, V value) {
  _map.putIfAbsent(key, _create);
  _add(_map[key], value);
}