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.61 by jsr166, Mon May 2 03:04:41 2005 UTC vs.
Revision 1.62 by jsr166, Mon May 2 03:16:16 2005 UTC

# Line 303 | Line 303 | public class ConcurrentHashMap<K, V> ext
303          }
304  
305          /**
306 <         * Read value field of an entry under lock. Called if value
306 >         * Reads value field of an entry under lock. Called if value
307           * field ever appears to be null. This is possible only if a
308           * compiler happens to reorder a HashEntry initialization with
309           * its table assignment, which is legal under memory model
# Line 957 | Line 957 | public class ConcurrentHashMap<K, V> ext
957  
958  
959      /**
960 <     * Replace entry for key only if currently mapped to given value.
960 >     * Replaces entry for key only if currently mapped to given value.
961       * Acts as
962       * <pre>
963       *  if (map.get(key).equals(oldValue)) {
# Line 981 | Line 981 | public class ConcurrentHashMap<K, V> ext
981      }
982  
983      /**
984 <     * Replace entry for key only if currently mapped to some value.
984 >     * Replaces entry for key only if currently mapped to some value.
985       * Acts as
986       * <pre>
987       *  if (map.containsKey(key)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines