站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface java.util.SortedMap - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.util.SortedMap

Packages that use SortedMap
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). 
 

Uses of SortedMap in java.util
 

Classes in java.util that implement SortedMap
 class TreeMap
          Red-Black tree based implementation of the SortedMap interface.
 

Methods in java.util that return SortedMap
static SortedMap Collections.unmodifiableSortedMap(SortedMap m)
          Returns an unmodifiable view of the specified sorted map.
static SortedMap Collections.synchronizedSortedMap(SortedMap m)
          Returns a synchronized (thread-safe) sorted map backed by the specified sorted map.
 SortedMap TreeMap.subMap(Object fromKey, Object toKey)
          Returns a view of the portion of this map whose keys range from fromKey, inclusive, to toKey, exclusive.
 SortedMap TreeMap.headMap(Object toKey)
          Returns a view of the portion of this map whose keys are strictly less than toKey.
 SortedMap TreeMap.tailMap(Object fromKey)
          Returns a view of the portion of this map whose keys are greater than or equal to fromKey.
 SortedMap SortedMap.subMap(Object fromKey, Object toKey)
          Returns a view of the portion of this sorted map whose keys range from fromKey, inclusive, to toKey, exclusive.
 SortedMap SortedMap.headMap(Object toKey)
          Returns a view of the portion of this sorted map whose keys are strictly less than toKey.
 SortedMap SortedMap.tailMap(Object fromKey)
          Returns a view of the portion of this sorted map whose keys are greater than or equal to fromKey.
 

Methods in java.util with parameters of type SortedMap
static SortedMap Collections.unmodifiableSortedMap(SortedMap m)
          Returns an unmodifiable view of the specified sorted map.
static SortedMap Collections.synchronizedSortedMap(SortedMap m)
          Returns a synchronized (thread-safe) sorted map backed by the specified sorted map.
 

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


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.