Copies every mapping to this Hashtable from the specified map. @param map the map to copy mappings from.
(Map<? extends K, ? extends V> map)
| 730 | * the map to copy mappings from. |
| 731 | */ |
| 732 | public synchronized void putAll(Map<? extends K, ? extends V> map) { |
| 733 | Iterator it = map.entrySet().iterator(); |
| 734 | while(it.hasNext()) { |
| 735 | Map.Entry<? extends K, ? extends V> entry = (Map.Entry<? extends K, ? extends V>)it.next(); |
| 736 | put(entry.getKey(), entry.getValue()); |
| 737 | } |
| 738 | } |
| 739 | |
| 740 | /** |
| 741 | * Increases the capacity of this {@code Hashtable}. This method is called |