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.17 by jsr166, Tue Feb 21 01:54:03 2012 UTC vs.
Revision 1.19 by jsr166, Sun Nov 25 21:06:56 2012 UTC

# Line 710 | Line 710 | public class ConcurrentSkipListMap<K,V>
710      /**
711       * Returns true if given key greater than or equal to least and
712       * strictly less than fence, bypassing either test if least or
713 <     * fence oare null. Needed mainly in submap operations.
713 >     * fence are null. Needed mainly in submap operations.
714       */
715      boolean inHalfOpenRange(K key, K least, K fence) {
716          if (key == null)
# 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