JavaTM 2 Platform
Standard Ed. 5.0

Uses of Interface
java.util.SortedMap

Packages that use SortedMap
java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
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 of SortedMap in java.nio.charset
 

Methods in java.nio.charset that return SortedMap
static SortedMap<String,Charset> Charset.availableCharsets()
          Constructs a sorted map from canonical charset names to charset objects.
 

Uses of SortedMap in java.util
 

Classes in java.util that implement SortedMap
 class TreeMap<K,V>
          Red-Black tree based implementation of the SortedMap interface.
 

Methods in java.util that return SortedMap
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> TreeMap.headMap(K toKey)
          Returns a view of the portion of this map whose keys are strictly less than toKey.
 SortedMap<K,V> SortedMap.headMap(K toKey)
          Returns a view of the portion of this sorted map whose keys are strictly less than toKey.
 SortedMap<K,V> TreeMap.subMap(K fromKey, K toKey)
          Returns a view of the portion of this map whose keys range from fromKey, inclusive, to toKey, exclusive.
 SortedMap<K,V> SortedMap.subMap(K fromKey, K toKey)
          Returns a view of the portion of this sorted map whose keys range from fromKey, inclusive, to toKey, 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.
 SortedMap<K,V> TreeMap.tailMap(K fromKey)
          Returns a view of the portion of this map whose keys are greater than or equal to fromKey.
 SortedMap<K,V> SortedMap.tailMap(K fromKey)
          Returns a view of the portion of this sorted map whose keys are greater than or equal to fromKey.
static
<K,V> SortedMap<K,V>
Collections.unmodifiableSortedMap(SortedMap<K,? extends V> m)
          Returns an unmodifiable view of the specified sorted map.
 

Methods in java.util with parameters of type SortedMap
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 an unmodifiable view of the specified sorted map.
 

Constructors in java.util with parameters of type SortedMap
TreeMap(SortedMap<K,? extends V> m)
          Constructs a new map containing the same mappings as the given SortedMap, sorted according to the same ordering.
 

Uses of SortedMap in java.util.jar
 

Methods in java.util.jar that return SortedMap
 SortedMap<String,String> Pack200.Packer.properties()
          Get the set of this engine's properties.
 SortedMap<String,String> Pack200.Unpacker.properties()
          Get the set of this engine's properties.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.