src/share/classes/java/util/Map.java

Print this page

        

*** 262,276 **** // Bulk Operations /** * Copies all of the mappings from the specified map to this map ! * (optional operation). The effect of this call is equivalent to that ! * of calling {@link #put(Object,Object) put(k, v)} on this map once ! * for each mapping from key <tt>k</tt> to value <tt>v</tt> in the ! * specified map. The behavior of this operation is undefined if the ! * specified map is modified while the operation is in progress. * * @param m mappings to be stored in this map * @throws UnsupportedOperationException if the <tt>putAll</tt> operation * is not supported by this map * @throws ClassCastException if the class of a key or value in the --- 262,273 ---- // Bulk Operations /** * Copies all of the mappings from the specified map to this map ! * (optional operation). The behavior of this operation is undefined ! * if the specified map is modified while the operation is in progress. * * @param m mappings to be stored in this map * @throws UnsupportedOperationException if the <tt>putAll</tt> operation * is not supported by this map * @throws ClassCastException if the class of a key or value in the