Copies every mapping to this Hashtable from the specified map. @param map the map to copy mappings from.
(Map<? extends K, ? extends V> map)
| 768 | * the map to copy mappings from. |
| 769 | */ |
| 770 | public synchronized void putAll(Map<? extends K, ? extends V> map) { |
| 771 | for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) { |
| 772 | put(entry.getKey(), entry.getValue()); |
| 773 | } |
| 774 | } |
| 775 | |
| 776 | /** |
| 777 | * Increases the capacity of this {@code Hashtable}. This method is called |