/** * Copies all of the mappings from the specified map to this map These mappings will replace any * mappings that this map had for any of the keys currently in the specified map. * * @param map mappings to be stored in this map. * @throws NullPointerException if the specified map is null. */ public void putAll(TObjectIntHashMap<K> map) { for (TObjectIntIterator<K> it = map.iterator(); it.hasNext(); ) { put(it.key(), it.value()); } }