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.59 by jsr166, Tue Apr 26 01:54:09 2005 UTC vs.
Revision 1.60 by jsr166, Tue Apr 26 20:42:51 2005 UTC

# Line 286 | Line 286 | public class ConcurrentHashMap<K, V> ext
286          }
287  
288          /**
289 <         * Set table to new HashEntry array.
289 >         * Sets table to new HashEntry array.
290           * Call only while holding lock or in constructor.
291           */
292          void setTable(HashEntry[] newTable) {
# Line 295 | Line 295 | public class ConcurrentHashMap<K, V> ext
295          }
296  
297          /**
298 <         * Return properly casted first entry of bin for given hash
298 >         * Returns properly casted first entry of bin for given hash.
299           */
300          HashEntry<K,V> getFirst(int hash) {
301              HashEntry[] tab = table;
# Line 888 | Line 888 | public class ConcurrentHashMap<K, V> ext
888       *   else
889       *      return map.get(key);
890       * </pre>
891 <     * Except that the action is performed atomically.
891 >     * except that the action is performed atomically.
892       * @param key key with which the specified value is to be associated.
893       * @param value value to be associated with the specified key.
894       * @return previous value associated with specified key, or <tt>null</tt>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines