JavaTM 2 Platform
Std. Ed. v1.4.2

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.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. 
java.nio.channels.spi Service-provider classes for the java.nio.channels package. 
java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. 
java.security Provides the classes and interfaces for the security framework. 
java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. 
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. 
javax.imageio The main package of the Java Image I/O API. 
javax.print.attribute.standard Package javax.print.attribute.standard contains classes for specific printing attributes. 
javax.security.auth This package provides a framework for authentication and authorization. 
 

Uses of Set in java.awt
 

Methods in java.awt that return Set
 Set KeyboardFocusManager.getDefaultFocusTraversalKeys(int id)
          Returns a Set of default focus traversal keys for a given traversal operation.
 Set Window.getFocusTraversalKeys(int id)
          Gets a focus traversal key for this Window.
 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.
 Set Container.getFocusTraversalKeys(int id)
          Returns the Set of focus traversal keys for a given traversal operation for this Container.
 Set Component.getFocusTraversalKeys(int id)
          Returns the Set of focus traversal keys for a given traversal operation for this Component.
 

Methods in java.awt with parameters of type Set
 void KeyboardFocusManager.setDefaultFocusTraversalKeys(int id, Set keystrokes)
          Sets the default focus traversal keys for a given traversal operation.
 void Container.setFocusTraversalKeys(int id, Set keystrokes)
          Sets the focus traversal keys for a given traversal operation for this Container.
 void Component.setFocusTraversalKeys(int id, Set keystrokes)
          Sets the focus traversal keys for a given traversal operation for this Component.
 

Uses of Set in java.nio.channels
 

Methods in java.nio.channels that return Set
abstract  Set Selector.keys()
          Returns this selector's key set.
abstract  Set Selector.selectedKeys()
          Returns this selector's selected-key set.
 

Uses of Set in java.nio.channels.spi
 

Methods in java.nio.channels.spi that return Set
protected  Set AbstractSelector.cancelledKeys()
          Retrieves this selector's cancelled-key set.
 

Uses of Set in java.nio.charset
 

Methods in java.nio.charset that return Set
 Set Charset.aliases()
          Returns a set containing this charset's aliases.
 

Uses of Set in java.security
 

Methods in java.security that return Set
static Set Security.getAlgorithms(String serviceName)
          Returns a Set of Strings containing the names of all available algorithms or types for the specified Java cryptographic service (e.g., Signature, MessageDigest, Cipher, Mac, KeyStore).
 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
 Set PolicyNode.getPolicyQualifiers()
          Returns the set of policy qualifiers associated with the valid policy represented by this node.
 Set PolicyNode.getExpectedPolicies()
          Returns the set of expected policies that would satisfy this node's valid policy in the next certificate to be processed.
abstract  Set PKIXCertPathChecker.getSupportedExtensions()
          Returns an immutable Set of X.509 certificate extensions that this PKIXCertPathChecker supports (i.e.
 Set PKIXParameters.getTrustAnchors()
          Returns an immutable Set of the most-trusted CAs.
 Set PKIXParameters.getInitialPolicies()
          Returns an immutable Set of initial policy identifiers (OID strings), indicating that any one of these policies would be acceptable to the certificate user for the purposes of certification path processing.
 Set X509CertSelector.getExtendedKeyUsage()
          Returns the extendedKeyUsage criterion.
 Set X509CertSelector.getPolicy()
          Returns the policy criterion.
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.
 

Methods in java.security.cert with parameters of type Set
 void PKIXParameters.setTrustAnchors(Set trustAnchors)
          Sets the Set of most-trusted CAs.
 void PKIXParameters.setInitialPolicies(Set initialPolicies)
          Sets the Set of initial policy identifiers (OID strings), indicating that any one of these policies would be acceptable to the certificate user for the purposes of certification path processing.
 void X509CertSelector.setExtendedKeyUsage(Set keyPurposeSet)
          Sets the extendedKeyUsage criterion.
 void X509CertSelector.setPolicy(Set certPolicySet)
          Sets the policy constraint.
 

Constructors in java.security.cert with parameters of type Set
PKIXParameters(Set trustAnchors)
          Creates an instance of PKIXParameters with the specified Set of most-trusted CAs.
PKIXBuilderParameters(Set trustAnchors, CertSelector targetConstraints)
          Creates an instance of PKIXBuilderParameters with the specified Set of most-trusted CAs.
 

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 LinkedHashSet
          Hash table and linked list implementation of the Set interface, with predictable iteration order.
 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 IdentityHashMap.keySet()
          Returns an identity-based set view of the keys contained in this map.
 Set IdentityHashMap.entrySet()
          Returns a set view of the mappings contained in this map.
 Set WeakHashMap.keySet()
          Returns a set view of the keys contained in this map.
 Set WeakHashMap.entrySet()
          Returns a collection 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.
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 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 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.
 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 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.
 

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.
 

Uses of Set in javax.imageio
 

Methods in javax.imageio with parameters of type Set
 IIOMetadata ImageReader.getStreamMetadata(String formatName, Set nodeNames)
          Returns an IIOMetadata object representing the metadata associated with the input source as a whole (i.e., not associated with any particular image).
 IIOMetadata ImageReader.getImageMetadata(int imageIndex, String formatName, Set nodeNames)
          Returns an IIOMetadata object representing the metadata associated with the given image, or null if the reader does not support reading metadata or none is available.
 

Uses of Set in javax.print.attribute.standard
 

Classes in javax.print.attribute.standard that implement Set
 class JobStateReasons
          Class JobStateReasons is a printing attribute class, a set of enumeration values, that provides additional information about the job's current state, i.e., information that augments the value of the job's JobState attribute.
 

Methods in javax.print.attribute.standard that return Set
 Set PrinterStateReasons.printerStateReasonSet(Severity severity)
          Obtain an unmodifiable set view of the individual printer state reason attributes at the given severity level in this PrinterStateReasons attribute.
 

Uses of Set in javax.security.auth
 

Methods in javax.security.auth that return Set
 Set Subject.getPrincipals()
          Return the Set of Principals associated with this Subject.
 Set Subject.getPrincipals(Class c)
          Return a Set of Principals associated with this Subject that are instances or subclasses of the specified Class.
 Set Subject.getPublicCredentials()
          Return the Set of public credentials held by this Subject.
 Set Subject.getPrivateCredentials()
          Return the Set of private credentials held by this Subject.
 Set Subject.getPublicCredentials(Class c)
          Return a Set of public credentials associated with this Subject that are instances or subclasses of the specified Class.
 Set Subject.getPrivateCredentials(Class c)
          Return a Set of private credentials associated with this Subject that are instances or subclasses of the specified Class.
 

Constructors in javax.security.auth with parameters of type Set
Subject(boolean readOnly, Set principals, Set pubCredentials, Set privCredentials)
          Create an instance of a Subject with the specified Sets of Principals and credentials.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

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 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.