ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166x/ConcurrentSkipListMap.java
(Generate patch)

Comparing jsr166/src/jsr166x/ConcurrentSkipListMap.java (file contents):
Revision 1.18 by jsr166, Tue Feb 21 01:54:59 2012 UTC vs.
Revision 1.19 by jsr166, Sun Nov 25 21:06:56 2012 UTC

# Line 2094 | Line 2094 | public class ConcurrentSkipListMap<K,V>
2094       * This is equivalent to
2095       * <pre>
2096       *   if (!map.containsKey(key))
2097 <     *      return map.put(key, value);
2097 >     *     return map.put(key, value);
2098       *   else
2099 <     *      return map.get(key);
2099 >     *     return map.get(key);
2100       * </pre>
2101       * except that the action is performed atomically.
2102       * @param key key with which the specified value is to be associated.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines