Uses of Interface
java.util.NavigableMap
-
Packages that use NavigableMap Package Description java.time.zone Support for time-zones and their rules.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.time.zone
Methods in java.time.zone that return NavigableMap Modifier and Type Method and Description static NavigableMap<String,ZoneRules>
ZoneRulesProvider. getVersions(String zoneId)
Gets the history of rules for the zone ID.protected abstract NavigableMap<String,ZoneRules>
ZoneRulesProvider. provideVersions(String zoneId)
SPI method to get the history of rules for the zone ID. -
Uses of NavigableMap in java.util
Classes in java.util that implement NavigableMap Modifier and Type Class and Description class
TreeMap<K,V>
A Red-Black tree basedNavigableMap
implementation.Methods in java.util that return NavigableMap Modifier and Type Method and Description static <K,V> NavigableMap<K,V>
Collections. checkedNavigableMap(NavigableMap<K,V> m, Class<K> keyType, Class<V> valueType)
Returns a dynamically typesafe view of the specified navigable map.NavigableMap<K,V>
NavigableMap. descendingMap()
Returns a reverse order view of the mappings contained in this map.NavigableMap<K,V>
TreeMap. descendingMap()
static <K,V> NavigableMap<K,V>
Collections. emptyNavigableMap()
Returns an empty navigable map (immutable).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, ifinclusive
is true)toKey
.NavigableMap<K,V>
TreeMap. headMap(K toKey, boolean inclusive)
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 fromfromKey
totoKey
.NavigableMap<K,V>
TreeMap. subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)
static <K,V> NavigableMap<K,V>
Collections. synchronizedNavigableMap(NavigableMap<K,V> m)
Returns a synchronized (thread-safe) navigable map backed by the specified navigable map.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, ifinclusive
is true)fromKey
.NavigableMap<K,V>
TreeMap. tailMap(K fromKey, boolean inclusive)
static <K,V> NavigableMap<K,V>
Collections. unmodifiableNavigableMap(NavigableMap<K,? extends V> m)
Returns an unmodifiable view of the specified navigable map.Methods in java.util with parameters of type NavigableMap Modifier and Type Method and Description static <K,V> NavigableMap<K,V>
Collections. checkedNavigableMap(NavigableMap<K,V> m, Class<K> keyType, Class<V> valueType)
Returns a dynamically typesafe view of the specified navigable map.static <K,V> NavigableMap<K,V>
Collections. synchronizedNavigableMap(NavigableMap<K,V> m)
Returns a synchronized (thread-safe) navigable map backed by the specified navigable map.static <K,V> NavigableMap<K,V>
Collections. unmodifiableNavigableMap(NavigableMap<K,? extends V> m)
Returns an unmodifiable view of the specified navigable map. -
Uses of NavigableMap in java.util.concurrent
Subinterfaces of NavigableMap in java.util.concurrent Modifier and Type Interface and Description interface
ConcurrentNavigableMap<K,V>
AConcurrentMap
supportingNavigableMap
operations, and recursively so for its navigable sub-maps.Classes in java.util.concurrent that implement NavigableMap Modifier and Type Class and Description class
ConcurrentSkipListMap<K,V>
A scalable concurrentConcurrentNavigableMap
implementation.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.