private void removeValuesForKey(Object key) {
    Collection<V> collection = Maps.safeRemove(map, key);

    if (collection != null) {
      int count = collection.size();
      collection.clear();
      totalSize -= count;
    }
  }
private void removeValuesForKey(Object key) {
    Collection<V> collection = Maps.safeRemove(map, key);

    if (collection != null) {
      int count = collection.size();
      collection.clear();
      totalSize -= count;
    }
  }
private void removeValuesForKey ( Object key ) { Collection < V > collection = Maps . safeRemove ( map , key ) ; if ( collection != null ) { int count = collection . size ( ) ; collection . clear ( ) ; totalSize -= count ; } }
Removes all values for the provided key.
Removes all values for the provided key .