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

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.util.SortedSet

Packages that use SortedSet
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 SortedSet in java.util
 

Classes in java.util that implement SortedSet
 class TreeSet
          This class implements the Set interface, backed by a TreeMap instance.
 

Methods in java.util that return SortedSet
static SortedSet Collections.unmodifiableSortedSet(SortedSet s)
          Returns an unmodifiable view of the specified sorted set.
static SortedSet Collections.synchronizedSortedSet(SortedSet s)
          Returns a synchronized (thread-safe) sorted set backed by the specified sorted set.
 SortedSet TreeSet.subSet(Object fromElement, Object toElement)
          Returns a view of the portion of this set whose elements range from fromElement, inclusive, to toElement, exclusive.
 SortedSet TreeSet.headSet(Object toElement)
          Returns a view of the portion of this set whose elements are strictly less than toElement.
 SortedSet TreeSet.tailSet(Object fromElement)
          Returns a view of the portion of this set whose elements are greater than or equal to fromElement.
 SortedSet SortedSet.subSet(Object fromElement, Object toElement)
          Returns a view of the portion of this sorted set whose elements range from fromElement, inclusive, to toElement, exclusive.
 SortedSet SortedSet.headSet(Object toElement)
          Returns a view of the portion of this sorted set whose elements are strictly less than toElement.
 SortedSet SortedSet.tailSet(Object fromElement)
          Returns a view of the portion of this sorted set whose elements are greater than or equal to fromElement.
 

Methods in java.util with parameters of type SortedSet
static SortedSet Collections.unmodifiableSortedSet(SortedSet s)
          Returns an unmodifiable view of the specified sorted set.
static SortedSet Collections.synchronizedSortedSet(SortedSet s)
          Returns a synchronized (thread-safe) sorted set backed by the specified sorted set.
 

Constructors in java.util with parameters of type SortedSet
TreeSet.TreeSet(SortedSet s)
          Constructs a new set containing the same elements as the given sorted set, 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.