Copies all of the mappings from the specified map to this map. The effect of this call is equivalent to that of calling put(k, v) on this map once for each mapping from key k to value v in the specified map. The behavior of this operation is undefined if the specified map is
(Map<? extends K, ? extends Long> m)
| 243 | |
| 244 | |
| 245 | public void putAll(Map<? extends K, ? extends Long> m) { |
| 246 | for (Map.Entry<? extends K, ? extends Long> entry : m.entrySet()) { |
| 247 | put(entry.getKey(), entry.getValue()); |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | /** |
| 252 | * Removes and returns the value associated with {@code key}. If {@code key} is not in the map, |