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.60 by jsr166, Tue Apr 26 20:42:51 2005 UTC vs.
Revision 1.61 by jsr166, Mon May 2 03:04:41 2005 UTC

# Line 984 | Line 984 | public class ConcurrentHashMap<K, V> ext
984       * Replace entry for key only if currently mapped to some value.
985       * Acts as
986       * <pre>
987 <     *  if ((map.containsKey(key)) {
987 >     *  if (map.containsKey(key)) {
988       *     return map.put(key, value);
989       * } else return null;
990       * </pre>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines