Uses of Interface
java.util.SortedMap
Packages that use SortedMap
Package
Description
Defines charsets, decoders, and encoders, for translating between
bytes and Unicode characters.
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.
Utility classes commonly useful in concurrent programming.
-
Uses of SortedMap in java.nio.charset
Methods in java.nio.charset that return SortedMapModifier and TypeMethodDescriptionCharset.availableCharsets()Constructs a sorted map from canonical charset names to charset objects. -
Uses of SortedMap in java.util
Modifier and TypeInterfaceDescriptioninterfaceNavigableMap<K,V> ASortedMapextended with navigation methods returning the closest matches for given search targets.Modifier and TypeClassDescriptionclassTreeMap<K,V> A Red-Black tree basedNavigableMapimplementation.Modifier and TypeMethodDescriptionstatic <K,V> SortedMap <K, V> Collections.checkedSortedMap(SortedMap<K, V> m, Class<K> keyType, Class<V> valueType) Returns a dynamically typesafe view of the specified sorted map.static final <K,V> SortedMap <K, V> Collections.emptySortedMap()Returns an empty sorted map (immutable).Returns a view of the portion of this map whose keys are strictly less thantoKey.Returns a view of the portion of this map whose keys are strictly less thantoKey.SortedMap.reversed()Returns a reverse-ordered view of this map.Returns a view of the portion of this map whose keys range fromfromKey, inclusive, totoKey, exclusive.Returns a view of the portion of this map whose keys range fromfromKey, inclusive, totoKey, exclusive.static <K,V> SortedMap <K, V> Collections.synchronizedSortedMap(SortedMap<K, V> m) Returns a synchronized (thread-safe) sorted map backed by the specified sorted map.Returns a view of the portion of this map whose keys are greater than or equal tofromKey.Returns a view of the portion of this map whose keys are greater than or equal tofromKey.static <K,V> SortedMap <K, V> Collections.unmodifiableSortedMap(SortedMap<K, ? extends V> m) Returns an unmodifiable view of the specified sorted map.Modifier and TypeMethodDescriptionstatic <K,V> SortedMap <K, V> Collections.checkedSortedMap(SortedMap<K, V> m, Class<K> keyType, Class<V> valueType) Returns a dynamically typesafe view of the specified sorted map.static <K,V> SortedMap <K, V> Collections.synchronizedSortedMap(SortedMap<K, V> m) Returns a synchronized (thread-safe) sorted map backed by the specified sorted map.static <K,V> SortedMap <K, V> Collections.unmodifiableSortedMap(SortedMap<K, ? extends V> m) Returns an unmodifiable view of the specified sorted map. -
Uses of SortedMap in java.util.concurrent
Subinterfaces of SortedMap in java.util.concurrentModifier and TypeInterfaceDescriptioninterfaceAConcurrentMapsupportingNavigableMapoperations, and recursively so for its navigable sub-maps.Classes in java.util.concurrent that implement SortedMapModifier and TypeClassDescriptionclassA scalable concurrentConcurrentNavigableMapimplementation.Constructors in java.util.concurrent with parameters of type SortedMapModifierConstructorDescriptionConcurrentSkipListMap(SortedMap<K, ? extends V> m) Constructs a new map containing the same mappings and using the same ordering as the specified sorted map.