|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use NavigableMap | |
|---|---|
| java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). |
| java.util.concurrent | Utility classes commonly useful in concurrent programming. |
| Uses of NavigableMap in java.util |
|---|
| Classes in java.util that implement NavigableMap | |
|---|---|
class |
TreeMap<K,V>
A Red-Black tree based NavigableMap implementation. |
| Methods in java.util that return NavigableMap | |
|---|---|
NavigableMap<K,V> |
TreeMap.descendingMap()
|
NavigableMap<K,V> |
NavigableMap.descendingMap()
Returns a reverse order view of the mappings contained in this map. |
NavigableMap<K,V> |
TreeMap.headMap(K toKey,
boolean inclusive)
|
NavigableMap<K,V> |
NavigableMap.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. |
NavigableMap<K,V> |
TreeMap.subMap(K fromKey,
boolean fromInclusive,
K toKey,
boolean toInclusive)
|
NavigableMap<K,V> |
NavigableMap.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. |
NavigableMap<K,V> |
TreeMap.tailMap(K fromKey,
boolean inclusive)
|
NavigableMap<K,V> |
NavigableMap.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. |
| Uses of NavigableMap in java.util.concurrent |
|---|
| Subinterfaces of NavigableMap in java.util.concurrent | |
|---|---|
interface |
ConcurrentNavigableMap<K,V>
A ConcurrentMap supporting NavigableMap operations,
and recursively so for its navigable sub-maps. |
| Classes in java.util.concurrent that implement NavigableMap | |
|---|---|
class |
ConcurrentSkipListMap<K,V>
A scalable concurrent ConcurrentNavigableMap implementation. |
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.