public synchronized void putAll(Map<Key, Value> m) {
    for (Map.Entry<Key, Value> entry : m.entrySet()) {
      this.put(entry.getKey(), entry.getValue());
    }
  }
public synchronized void putAll ( Map < Key , Value > m ) { for ( Map . Entry < Key , Value > entry : m . entrySet ( ) ) { this . put ( entry . getKey ( ) , entry . getValue ( ) ) ; } }
Puts all the values from the given map into the cache.

@param m The map containing entries to put into the cache