Uses of Interface
java.util.SortedMap
Packages that useSortedMap
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 ofSortedMap injava.nio.charset
Methods injava.nio.charset that returnSortedMapModifier and TypeMethodDescriptionCharset.availableCharsets()
Constructs a sorted map from canonical charset names to charset objects.Uses ofSortedMap injava.util
Modifier and TypeInterfaceDescriptioninterface
NavigableMap<K,
V> ASortedMap
extended with navigation methods returning the closest matches for given search targets.Modifier and TypeClassDescriptionclass
TreeMap<K,
V> A Red-Black tree basedNavigableMap
implementation.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-orderedview 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 anunmodifiable 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 anunmodifiable view of the specified sorted map.Uses ofSortedMap injava.util.concurrent
Subinterfaces ofSortedMap injava.util.concurrentModifier and TypeInterfaceDescriptioninterface
AConcurrentMap
supportingNavigableMap
operations, and recursively so for its navigable sub-maps.Classes injava.util.concurrent that implementSortedMapConstructors injava.util.concurrent with parameters of typeSortedMapModifierConstructorDescriptionConcurrentSkipListMap
(SortedMap<K, ? extendsV> m) Constructs a new map containing the same mappings and using the same ordering as the specified sorted map.