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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentSkipListMap.java (file contents):
Revision 1.61 by jsr166, Fri Oct 22 05:18:30 2010 UTC vs.
Revision 1.62 by jsr166, Fri Oct 22 05:49:04 2010 UTC

# Line 604 | Line 604 | public class ConcurrentSkipListMap<K,V>
604       * cast key as Comparable, which may cause ClassCastException,
605       * which is propagated back to caller.
606       */
607 <    private Comparable<? super K> comparable(Object key) throws ClassCastException {
607 >    private Comparable<? super K> comparable(Object key)
608 >            throws ClassCastException {
609          if (key == null)
610              throw new NullPointerException();
611          if (comparator != null)
# Line 2306 | Line 2307 | public class ConcurrentSkipListMap<K,V>
2307          return list;
2308      }
2309  
2310 <    static final class KeySet<E> extends AbstractSet<E> implements NavigableSet<E> {
2310 >    static final class KeySet<E>
2311 >            extends AbstractSet<E> implements NavigableSet<E> {
2312          private final ConcurrentNavigableMap<E,Object> m;
2313          KeySet(ConcurrentNavigableMap<E,Object> map) { m = map; }
2314          public int size() { return m.size(); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines