Uses of Interface
java.util.NavigableMap
Packages that useNavigableMap Package Description java.time.zone Support for time-zones and their rules.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.concurrent Utility classes commonly useful in concurrent programming.Uses ofNavigableMap injava.time.zone
Methods injava.time.zone that returnNavigableMap Modifier and Type Method Description staticNavigableMap<String,ZoneRules>ZoneRulesProvider. getVersions(String zoneId)Gets the history of rules for the zone ID.protected abstractNavigableMap<String,ZoneRules>ZoneRulesProvider. provideVersions(String zoneId)SPI method to get the history of rules for the zone ID.Uses ofNavigableMap injava.util
Classes injava.util that implementNavigableMap Modifier and Type Class Description classTreeMap<K,V>A Red-Black tree basedNavigableMapimplementation.Methods injava.util that returnNavigableMap Modifier and Type Method 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, ifinclusiveis 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 fromfromKeytotoKey.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, ifinclusiveis 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 anunmodifiable view of the specified navigable map.Methods injava.util with parameters of typeNavigableMap Modifier and Type Method 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 anunmodifiable view of the specified navigable map.Uses ofNavigableMap injava.util.concurrent
Subinterfaces ofNavigableMap injava.util.concurrent Modifier and Type Interface Description interfaceConcurrentNavigableMap<K,V>AConcurrentMapsupportingNavigableMapoperations, and recursively so for its navigable sub-maps.Classes injava.util.concurrent that implementNavigableMap Modifier and Type Class Description classConcurrentSkipListMap<K,V>A scalable concurrentConcurrentNavigableMapimplementation.