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

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.util.Set

Packages that use Set
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.security Provides the classes and interfaces for the security framework. 
java.security.cert Provides classes and interfaces for parsing and managing certificates. 
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
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 Set in java.awt
 

Methods in java.awt that return Set
 Set RenderingHints.keySet()
          Returns a Set view of the Keys contained in this RenderingHints.
 Set RenderingHints.entrySet()
          Returns a Set view of the mappings contained in this RenderingHints.
 

Uses of Set in java.security
 

Methods in java.security that return Set
 Set Provider.entrySet()
          Returns an unmodifiable Set view of the property entries contained in this Provider.
 Set Provider.keySet()
          Returns an unmodifiable Set view of the property keys contained in this provider.
 

Uses of Set in java.security.cert
 

Methods in java.security.cert that return Set
abstract  Set X509CRL.getRevokedCertificates()
          Gets all the entries from this CRL.
 Set X509Extension.getCriticalExtensionOIDs()
          Gets a Set of the OID strings for the extension(s) marked CRITICAL in the certificate/CRL managed by the object implementing this interface.
 Set X509Extension.getNonCriticalExtensionOIDs()
          Gets a Set of the OID strings for the extension(s) marked NON-CRITICAL in the certificate/CRL managed by the object implementing this interface.
 

Uses of Set in java.text
 

Methods in java.text that return Set
 Set AttributedCharacterIterator.getAllAttributeKeys()
          Returns the keys of all attributes defined on the iterator's text range.
 

Methods in java.text with parameters of type Set
 int AttributedCharacterIterator.getRunStart(Set attributes)
          Returns the index of the first character of the run with respect to the given attributes containing the current character.
 int AttributedCharacterIterator.getRunLimit(Set attributes)
          Returns the index of the first character following the run with respect to the given attributes containing the current character.
 

Uses of Set in java.util
 

Subinterfaces of Set in java.util
 interface SortedSet
          A set that further guarantees that its iterator will traverse the set in ascending element order, sorted according to the natural ordering of its elements (see Comparable), or by a Comparator provided at sorted set creation time.
 

Classes in java.util that implement Set
 class AbstractSet
          This class provides a skeletal implementation of the Set interface to minimize the effort required to implement this interface.
 class HashSet
          This class implements the Set interface, backed by a hash table (actually a HashMap instance).
 class TreeSet
          This class implements the Set interface, backed by a TreeMap instance.
 

Fields in java.util declared as Set
static Set Collections.EMPTY_SET
          The empty set (immutable).
 

Methods in java.util that return Set
 Set Hashtable.keySet()
          Returns a Set view of the keys contained in this Hashtable.
 Set Hashtable.entrySet()
          Returns a Set view of the entries contained in this Hashtable.
 Set AbstractMap.keySet()
          Returns a Set view of the keys contained in this map.
abstract  Set AbstractMap.entrySet()
          Returns a set view of the mappings contained in this map.
 Set WeakHashMap.entrySet()
          Returns a Set view of the mappings in this map.
 Set HashMap.keySet()
          Returns a set view of the keys contained in this map.
 Set HashMap.entrySet()
          Returns a collection view of the mappings contained in this map.
static Set Collections.unmodifiableSet(Set s)
          Returns an unmodifiable view of the specified set.
static Set Collections.synchronizedSet(Set s)
          Returns a synchronized (thread-safe) set backed by the specified set.
static Set Collections.singleton(Object o)
          Returns an immutable set containing only the specified object.
 Set Map.keySet()
          Returns a set view of the keys contained in this map.
 Set Map.entrySet()
          Returns a set view of the mappings contained in this map.
 Set TreeMap.keySet()
          Returns a Set view of the keys contained in this map.
 Set TreeMap.entrySet()
          Returns a set view of the mappings contained in this map.
 

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

Uses of Set in java.util.jar
 

Methods in java.util.jar that return Set
 Set Attributes.keySet()
          Returns a Set view of the attribute names (keys) contained in this Map.
 Set Attributes.entrySet()
          Returns a Collection view of the attribute name-value mappings contained in this Map.
 


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.