1 |
dl |
1.1 |
/* |
2 |
|
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
|
* Expert Group and released to the public domain, as explained at |
4 |
|
|
* http://creativecommons.org/licenses/publicdomain |
5 |
|
|
*/ |
6 |
|
|
|
7 |
|
|
package java.util.concurrent; |
8 |
|
|
import java.util.*; |
9 |
|
|
|
10 |
|
|
/** |
11 |
|
|
* A {@link ConcurrentMap} supporting {@link NavigableMap} operations. |
12 |
|
|
* |
13 |
jsr166 |
1.3 |
* <p>This interface is a member of the |
14 |
|
|
* <a href="{@docRoot}/../guide/collections/index.html"> |
15 |
|
|
* Java Collections Framework</a>. |
16 |
|
|
* |
17 |
dl |
1.1 |
* @author Doug Lea |
18 |
|
|
* @param <K> the type of keys maintained by this map |
19 |
jsr166 |
1.3 |
* @param <V> the type of mapped values |
20 |
|
|
* @since 1.6 |
21 |
dl |
1.1 |
*/ |
22 |
jsr166 |
1.3 |
public interface ConcurrentNavigableMap<K,V> |
23 |
|
|
extends ConcurrentMap<K,V>, NavigableMap<K,V> |
24 |
|
|
{ |
25 |
dl |
1.1 |
/** |
26 |
jsr166 |
1.3 |
* @throws ClassCastException {@inheritDoc} |
27 |
jsr166 |
1.4 |
* @throws NullPointerException {@inheritDoc} |
28 |
jsr166 |
1.3 |
* @throws IllegalArgumentException {@inheritDoc} |
29 |
dl |
1.1 |
*/ |
30 |
jsr166 |
1.3 |
ConcurrentNavigableMap<K,V> navigableSubMap(K fromKey, K toKey); |
31 |
dl |
1.1 |
|
32 |
|
|
/** |
33 |
jsr166 |
1.3 |
* @throws ClassCastException {@inheritDoc} |
34 |
jsr166 |
1.4 |
* @throws NullPointerException {@inheritDoc} |
35 |
jsr166 |
1.3 |
* @throws IllegalArgumentException {@inheritDoc} |
36 |
dl |
1.1 |
*/ |
37 |
jsr166 |
1.3 |
ConcurrentNavigableMap<K,V> navigableHeadMap(K toKey); |
38 |
dl |
1.1 |
|
39 |
|
|
/** |
40 |
jsr166 |
1.3 |
* @throws ClassCastException {@inheritDoc} |
41 |
jsr166 |
1.4 |
* @throws NullPointerException {@inheritDoc} |
42 |
jsr166 |
1.3 |
* @throws IllegalArgumentException {@inheritDoc} |
43 |
dl |
1.1 |
*/ |
44 |
jsr166 |
1.3 |
ConcurrentNavigableMap<K,V> navigableTailMap(K fromKey); |
45 |
dl |
1.1 |
} |