ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.46 by dl, Tue Apr 13 13:33:52 2004 UTC vs.
Revision 1.47 by dl, Thu Apr 15 14:49:13 2004 UTC

# Line 888 | Line 888 | public class ConcurrentHashMap<K, V> ext
888       * @param t Mappings to be stored in this map.
889       */
890      public void putAll(Map<? extends K, ? extends V> t) {
891 <        for (Iterator<Map.Entry<? extends K, ? extends V>> it = (Iterator<Map.Entry<? extends K, ? extends V>>) t.entrySet().iterator(); it.hasNext(); ) {
891 >        for (Iterator<? extends Map.Entry<? extends K, ? extends V>> it = (Iterator<? extends Map.Entry<? extends K, ? extends V>>) t.entrySet().iterator(); it.hasNext(); ) {
892              Entry<? extends K, ? extends V> e = it.next();
893              put(e.getKey(), e.getValue());
894          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines