Uses of Interface
java.util.SortedMap
| Package | Description |
|---|---|
| java.nio.charset | |
| java.util | |
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| java.util.jar |
-
Uses of SortedMap in java.nio.charset
Methods in java.nio.charset that return SortedMap Modifier and Type Method Description static SortedMap<String,Charset>Charset. availableCharsets()Returns an immutable case-insensitive map from canonical names toCharsetinstances. -
Uses of SortedMap in java.util
Subinterfaces of SortedMap in java.util Modifier and Type Interface Description interfaceNavigableMap<K,V>ASortedMapextended with navigation methods returning the closest matches for given search targets.Classes in java.util that implement SortedMap Modifier and Type Class Description classTreeMap<K,V>A map whose entries are sorted by their keys.Methods in java.util that return SortedMap 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.SortedMap<K,V>NavigableMap. headMap(K toKey)Returns a sorted map over a range of this sorted map with all keys that are less than the specifiedendKey.SortedMap<K,V>SortedMap. headMap(K endKey)Returns a sorted map over a range of this sorted map with all keys that are less than the specifiedendKey.SortedMap<K,V>TreeMap. headMap(K toExclusive)SortedMap<K,V>NavigableMap. subMap(K fromKey, K toKey)Returns a sorted map over a range of this sorted map with all keys greater than or equal to the specifiedstartKeyand less than the specifiedendKey.SortedMap<K,V>SortedMap. subMap(K startKey, K endKey)Returns a sorted map over a range of this sorted map with all keys greater than or equal to the specifiedstartKeyand less than the specifiedendKey.SortedMap<K,V>TreeMap. subMap(K fromInclusive, K toExclusive)static <K, V> SortedMap<K,V>Collections. synchronizedSortedMap(SortedMap<K,V> map)Returns a wrapper on the specified sorted map which synchronizes all access to the sorted map.SortedMap<K,V>NavigableMap. tailMap(K fromKey)Returns a sorted map over a range of this sorted map with all keys that are greater than or equal to the specifiedstartKey.SortedMap<K,V>SortedMap. tailMap(K startKey)Returns a sorted map over a range of this sorted map with all keys that are greater than or equal to the specifiedstartKey.SortedMap<K,V>TreeMap. tailMap(K fromInclusive)static <K, V> SortedMap<K,V>Collections. unmodifiableSortedMap(SortedMap<K,? extends V> map)Returns a wrapper on the specified sorted map which throws anUnsupportedOperationExceptionwhenever an attempt is made to modify the sorted map.Methods in java.util with parameters of type SortedMap 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> map)Returns a wrapper on the specified sorted map which synchronizes all access to the sorted map.static <K, V> SortedMap<K,V>Collections. unmodifiableSortedMap(SortedMap<K,? extends V> map)Returns a wrapper on the specified sorted map which throws anUnsupportedOperationExceptionwhenever an attempt is made to modify the sorted map. -
Uses of SortedMap in java.util.concurrent
Subinterfaces of SortedMap in java.util.concurrent Modifier and Type Interface Description interfaceConcurrentNavigableMap<K,V>AConcurrentMapsupportingNavigableMapoperations, and recursively so for its navigable sub-maps.Classes in java.util.concurrent that implement SortedMap Modifier and Type Class Description classConcurrentSkipListMap<K,V>A scalable concurrentConcurrentNavigableMapimplementation.Constructors in java.util.concurrent with parameters of type SortedMap Constructor Description ConcurrentSkipListMap(SortedMap<K,? extends V> m)Constructs a new map containing the same mappings and using the same ordering as the specified sorted map. -
Uses of SortedMap in java.util.jar
Methods in java.util.jar that return SortedMap Modifier and Type Method Description SortedMap<String,String>Pack200.Packer. properties()Returns a sorted map of the properties of this packer.SortedMap<String,String>Pack200.Unpacker. properties()Returns a sorted map of the properties of this unpacker.