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.4 by jsr166, Mon May 16 08:56:05 2005 UTC vs.
Revision 1.5 by dl, Sun Jun 26 00:10:58 2005 UTC

# Line 8 | Line 8 | package java.util.concurrent;
8   import java.util.*;
9  
10   /**
11 < * A {@link ConcurrentMap} supporting {@link NavigableMap} operations.
11 > * A {@link ConcurrentMap} supporting {@link NavigableMap} operations,
12 > * and recursively so for its navigable sub-maps.
13   *
14   * <p>This interface is a member of the
15   * <a href="{@docRoot}/../guide/collections/index.html">
# Line 42 | Line 43 | public interface ConcurrentNavigableMap<
43       * @throws IllegalArgumentException {@inheritDoc}
44       */
45      ConcurrentNavigableMap<K,V> navigableTailMap(K fromKey);
46 +
47 +
48 +    /**
49 +     * Equivalent to {@link #navigableSubMap}.
50 +     *
51 +     * <p>{@inheritDoc}
52 +     * @throws ClassCastException       {@inheritDoc}
53 +     * @throws NullPointerException     {@inheritDoc}
54 +     * @throws IllegalArgumentException {@inheritDoc}
55 +     */
56 +    ConcurrentNavigableMap<K,V> subMap(K fromKey, K toKey);
57 +
58 +    /**
59 +     * Equivalent to {@link #navigableHeadMap}.
60 +     *
61 +     * <p>{@inheritDoc}
62 +     * @throws ClassCastException       {@inheritDoc}
63 +     * @throws NullPointerException     {@inheritDoc}
64 +     * @throws IllegalArgumentException {@inheritDoc}
65 +     */
66 +    ConcurrentNavigableMap<K,V> headMap(K toKey);
67 +
68 +    /**
69 +     * Equivalent to {@link #navigableTailMap}.
70 +     *
71 +     * <p>{@inheritDoc}
72 +     * @throws ClassCastException       {@inheritDoc}
73 +     * @throws NullPointerException     {@inheritDoc}
74 +     * @throws IllegalArgumentException {@inheritDoc}
75 +     */
76 +    ConcurrentNavigableMap<K,V> tailMap(K fromKey);
77 +
78   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines