ConcurrentNavigableMap

public interface ConcurrentNavigableMap implements ConcurrentMap<K, V> NavigableMap<K, V>
Known Indirect Subclasses

A ConcurrentMap supporting NavigableMap operations, and recursively so for its navigable sub-maps.

Public Method Summary

abstract NavigableSet<K>
descendingKeySet()
Returns a reverse order NavigableSet view of the keys contained in this map.
abstract ConcurrentNavigableMap<K, V>
descendingMap()
Returns a reverse order view of the mappings contained in this map.
abstract ConcurrentNavigableMap<K, V>
headMap(K toKey)
Returns a view of the portion of this map whose keys are strictly less than toKey.

Equivalent to headMap(toKey, false).

abstract ConcurrentNavigableMap<K, V>
headMap(K toKey, boolean inclusive)
Returns a view of the portion of this map whose keys are less than (or equal to, if inclusive is true) toKey.
abstract NavigableSet<K>
keySet()
Returns a NavigableSet view of the keys contained in this map.
abstract NavigableSet<K>
navigableKeySet()
Returns a NavigableSet view of the keys contained in this map.
abstract ConcurrentNavigableMap<K, V>
subMap(K fromKey, K toKey)
Returns a view of the portion of this map whose keys range from fromKey, inclusive, to toKey, exclusive.

Equivalent to subMap(fromKey, true, toKey, false).

abstract ConcurrentNavigableMap<K, V>
subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)
Returns a view of the portion of this map whose keys range from fromKey to toKey.
abstract ConcurrentNavigableMap<K, V>
tailMap(K fromKey, boolean inclusive)
Returns a view of the portion of this map whose keys are greater than (or equal to, if inclusive is true) fromKey.
abstract ConcurrentNavigableMap<K, V>
tailMap(K fromKey)
Returns a view of the portion of this map whose keys are greater than or equal to fromKey.

Equivalent to tailMap(fromKey, true).

Inherited Method Summary