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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentNavigableMap.java (file contents):
Revision 1.7 by jsr166, Tue Feb 7 20:54:24 2006 UTC vs.
Revision 1.8 by dl, Wed Apr 19 15:08:04 2006 UTC

# Line 28 | Line 28 | public interface ConcurrentNavigableMap<
28       * @throws NullPointerException     {@inheritDoc}
29       * @throws IllegalArgumentException {@inheritDoc}
30       */
31 <    ConcurrentNavigableMap<K,V> navigableSubMap(K fromKey, K toKey);
31 >    ConcurrentNavigableMap<K,V> navigableSubMap(K fromKey, boolean fromInclusive,
32 >                                                K toKey,   boolean toInclusive);
33  
34      /**
35       * @throws ClassCastException       {@inheritDoc}
36       * @throws NullPointerException     {@inheritDoc}
37       * @throws IllegalArgumentException {@inheritDoc}
38       */
39 <    ConcurrentNavigableMap<K,V> navigableHeadMap(K toKey);
39 >    ConcurrentNavigableMap<K,V> navigableHeadMap(K toKey, boolean inclusive);
40 >
41  
42      /**
43       * @throws ClassCastException       {@inheritDoc}
44       * @throws NullPointerException     {@inheritDoc}
45       * @throws IllegalArgumentException {@inheritDoc}
46       */
47 <    ConcurrentNavigableMap<K,V> navigableTailMap(K fromKey);
46 <
47 >    ConcurrentNavigableMap<K,V> navigableTailMap(K fromKey, boolean inclusive);
48  
49      /**
49     * Equivalent to {@link #navigableSubMap}.
50     *
51     * <p>{@inheritDoc}
52     *
50       * @throws ClassCastException       {@inheritDoc}
51       * @throws NullPointerException     {@inheritDoc}
52       * @throws IllegalArgumentException {@inheritDoc}
# Line 57 | Line 54 | public interface ConcurrentNavigableMap<
54      ConcurrentNavigableMap<K,V> subMap(K fromKey, K toKey);
55  
56      /**
60     * Equivalent to {@link #navigableHeadMap}.
61     *
62     * <p>{@inheritDoc}
63     *
57       * @throws ClassCastException       {@inheritDoc}
58       * @throws NullPointerException     {@inheritDoc}
59       * @throws IllegalArgumentException {@inheritDoc}
# Line 68 | Line 61 | public interface ConcurrentNavigableMap<
61      ConcurrentNavigableMap<K,V> headMap(K toKey);
62  
63      /**
71     * Equivalent to {@link #navigableTailMap}.
72     *
73     * <p>{@inheritDoc}
74     *
64       * @throws ClassCastException       {@inheritDoc}
65       * @throws NullPointerException     {@inheritDoc}
66       * @throws IllegalArgumentException {@inheritDoc}
67       */
68      ConcurrentNavigableMap<K,V> tailMap(K fromKey);
69  
70 +    ConcurrentNavigableMap<K,V> descendingMap();
71   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines