Uses of Interface
java.util.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
Modifier and TypeMethodDescriptionCharset.availableCharsets()
Constructs a sorted map from canonical charset names to charset objects. -
Uses of SortedMap in java.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
.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
Modifier and TypeInterfaceDescriptioninterface
AConcurrentMap
supportingNavigableMap
operations, and recursively so for its navigable sub-maps.Modifier and TypeClassDescriptionclass
A scalable concurrentConcurrentNavigableMap
implementation.ModifierConstructorDescriptionConcurrentSkipListMap
(SortedMap<K, ? extends V> m) Constructs a new map containing the same mappings and using the same ordering as the specified sorted map.