/** * copies the key/value mappings in <tt>map</tt> into this map. * * @param map a <code>Map</code> value */ public void putAll( Map<? extends K, ? extends V> map ) { ensureCapacity( map.size() ); // could optimize this for cases when map instanceof TCustomHashMap for ( Map.Entry<? extends K, ? extends V> e : map.entrySet() ) { put( e.getKey(), e.getValue() ); } }
/** * copies the key/value mappings in <tt>map</tt> into this map. * * @param map a <code>Map</code> value */ public void putAll( Map<? extends K, ? extends V> map ) { ensureCapacity( map.size() ); // could optimize this for cases when map instanceof TCustomHashMap for ( Map.Entry<? extends K, ? extends V> e : map.entrySet() ) { put( e.getKey(), e.getValue() ); } }
/** * copies the key/value mappings in <tt>map</tt> into this map. * * @param map a <code>Map</code> value */ public void putAll( Map<? extends K, ? extends V> map ) { ensureCapacity( map.size() ); // could optimize this for cases when map instanceof TCustomHashMap for ( Map.Entry<? extends K, ? extends V> e : map.entrySet() ) { put( e.getKey(), e.getValue() ); } }
/** * copies the key/value mappings in <tt>map</tt> into this map. * * @param map a <code>Map</code> value */ public void putAll( Map<? extends K, ? extends V> map ) { ensureCapacity( map.size() ); // could optimize this for cases when map instanceof TCustomHashMap for ( Map.Entry<? extends K, ? extends V> e : map.entrySet() ) { put( e.getKey(), e.getValue() ); } }
/** * copies the key/value mappings in <tt>map</tt> into this map. * * @param map a <code>Map</code> value */ @Override public void putAll( Map<? extends K, ? extends V> map ) { ensureCapacity( map.size() ); // could optimize this for cases when map instanceof TCustomHashMap for ( Map.Entry<? extends K, ? extends V> e : map.entrySet() ) { put( e.getKey(), e.getValue() ); } }