Uses of Interface
java.util.SortedMap
Packages that useSortedMap Package Description java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters.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.java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.Uses ofSortedMap injava.nio.charset
Methods injava.nio.charset that returnSortedMap Modifier and Type Method Description staticSortedMap<String,Charset>Charset. availableCharsets()Constructs a sorted map from canonical charset names to charset objects.Uses ofSortedMap injava.util
Subinterfaces ofSortedMap injava.util Modifier and Type Interface Description interfaceNavigableMap<K,V>ASortedMapextended with navigation methods returning the closest matches for given search targets.Classes injava.util that implementSortedMap Modifier and Type Class Description classTreeMap<K,V>A Red-Black tree basedNavigableMapimplementation.Methods injava.util that returnSortedMap Modifier and Type Method Description static <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. emptySortedMap()Returns an empty sorted map (immutable).SortedMap<K,V>NavigableMap. headMap(K toKey)Returns a view of the portion of this map whose keys are strictly less thantoKey.SortedMap<K,V>SortedMap. headMap(K toKey)Returns a view of the portion of this map whose keys are strictly less thantoKey.SortedMap<K,V>TreeMap. headMap(K toKey)SortedMap<K,V>NavigableMap. subMap(K fromKey,K toKey)Returns a view of the portion of this map whose keys range fromfromKey, inclusive, totoKey, exclusive.SortedMap<K,V>SortedMap. subMap(K fromKey,K toKey)Returns a view of the portion of this map whose keys range fromfromKey, inclusive, totoKey, exclusive.SortedMap<K,V>TreeMap. subMap(K fromKey,K toKey)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.SortedMap<K,V>NavigableMap. tailMap(K fromKey)Returns a view of the portion of this map whose keys are greater than or equal tofromKey.SortedMap<K,V>SortedMap. tailMap(K fromKey)Returns a view of the portion of this map whose keys are greater than or equal tofromKey.SortedMap<K,V>TreeMap. tailMap(K fromKey)static <K,V>
SortedMap<K,V>Collections. unmodifiableSortedMap(SortedMap<K,? extends V> m)Returns anunmodifiable view of the specified sorted map.Methods injava.util with parameters of typeSortedMap Modifier and Type Method Description static <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 anunmodifiable view of the specified sorted map.Constructors injava.util with parameters of typeSortedMap Constructor Description TreeMap(SortedMap<K,? extendsV> m)Constructs a new tree map containing the same mappings and using the same ordering as the specified sorted map.Uses ofSortedMap injava.util.concurrent
Subinterfaces ofSortedMap 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 implementSortedMap Modifier and Type Class Description classConcurrentSkipListMap<K,V>A scalable concurrentConcurrentNavigableMapimplementation.Constructors injava.util.concurrent with parameters of typeSortedMap Constructor Description ConcurrentSkipListMap(SortedMap<K,? extendsV> m)Constructs a new map containing the same mappings and using the same ordering as the specified sorted map.Uses ofSortedMap injava.util.jar
Methods injava.util.jar that returnSortedMap Modifier and Type Method Description SortedMap<String,String>Pack200.Packer. properties()Deprecated, for removal: This API element is subject to removal in a future version.Get the set of this engine's properties.SortedMap<String,String>Pack200.Unpacker. properties()Deprecated, for removal: This API element is subject to removal in a future version.Get the set of this engine's properties.