Uses of Interface
java.util.Enumeration
Packages that useEnumeration Package Description java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.beans Contains classes related to developingbeans -- components based on the JavaBeans™ architecture.java.io Provides for system input and output through data streams, serialization and the file system.java.lang Provides classes that are fundamental to the design of the Java programming language.java.net Provides the classes for implementing networking applications.java.security Provides the classes and interfaces for the security framework.java.security.acl The classes and interfaces in this package have been deprecated.java.sql Provides the API for accessing and processing data stored in adata source (usually a relational database) using theJava™ programming language.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.concurrent Utility classes commonly useful in concurrent programming.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.java.util.logging Provides the classes and interfaces of the Java™ 2 platform's core logging facilities.java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats.javax.management.loading Provides the classes which implement advanced dynamic loading.javax.naming Provides the classes and interfaces for accessing naming services.javax.naming.ldap Provides support for LDAPv3 extended operations and controls.javax.net.ssl Provides classes for the secure socket package.javax.security.sasl Contains class and interfaces for supporting SASL.javax.sql.rowset.spi The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.table Provides classes and interfaces for dealing withjavax.swing.JTable.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.javax.swing.text.html Provides the classHTMLEditorKitand supporting classes for creating HTML text editors.javax.swing.text.html.parser Provides the default HTML parser, along with support classes.javax.swing.tree Provides classes and interfaces for dealing withjavax.swing.JTree.org.xml.sax.helpers Provides helper classes, including support for bootstrapping SAX-based applications.Uses ofEnumeration injava.applet
Methods injava.applet that returnEnumeration Modifier and Type Method Description Enumeration<Applet>AppletContext. getApplets()Deprecated.Finds all the applets in the document represented by this applet context.Uses ofEnumeration injava.awt
Methods injava.awt that returnEnumeration Modifier and Type Method Description Enumeration<MenuShortcut>MenuBar. shortcuts()Gets an enumeration of all menu shortcuts this menu bar is managing.Uses ofEnumeration injava.beans
Methods injava.beans that returnEnumeration Modifier and Type Method Description Enumeration<String>FeatureDescriptor. attributeNames()Gets an enumeration of the locale-independent names of this feature.Uses ofEnumeration injava.io
Constructors injava.io with parameters of typeEnumeration Constructor Description SequenceInputStream(Enumeration<? extendsInputStream> e)Initializes a newly createdSequenceInputStreamby remembering the argument, which must be anEnumerationthat produces objects whose run-time type isInputStream.Uses ofEnumeration injava.lang
Methods injava.lang that returnEnumeration Modifier and Type Method Description protectedEnumeration<URL>ClassLoader. findResources(String name)Returns an enumeration ofURLobjects representing all the resources with the given name.Enumeration<URL>ClassLoader. getResources(String name)Finds all the resources with the given name.staticEnumeration<URL>ClassLoader. getSystemResources(String name)Finds all resources of the specified name from the search path used to load classes.Uses ofEnumeration injava.net
Methods injava.net that returnEnumeration Modifier and Type Method Description Enumeration<URL>URLClassLoader. findResources(String name)Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.Enumeration<InetAddress>NetworkInterface. getInetAddresses()Get an Enumeration with all or a subset of the InetAddresses bound to this network interface.staticEnumeration<NetworkInterface>NetworkInterface. getNetworkInterfaces()Returns anEnumerationof all the interfaces on this machine.Enumeration<NetworkInterface>NetworkInterface. getSubInterfaces()Get an Enumeration with all the subinterfaces (also known as virtual interfaces) attached to this network interface.Uses ofEnumeration injava.security
Methods injava.security that returnEnumeration Modifier and Type Method Description Enumeration<String>KeyStore. aliases()Lists all the alias names of this keystore.abstractEnumeration<Permission>PermissionCollection. elements()Returns an enumeration of all the Permission objects in the collection.Enumeration<Permission>Permissions. elements()Returns an enumeration of all the Permission objects in all the PermissionCollections in this Permissions object.abstractEnumeration<String>KeyStoreSpi. engineAliases()Lists all the alias names of this keystore.abstractEnumeration<Identity>IdentityScope. identities()Deprecated, for removal: This API element is subject to removal in a future version.Returns an enumeration of all identities in this identity scope.Uses ofEnumeration injava.security.acl
Methods injava.security.acl that returnEnumeration Modifier and Type Method Description Enumeration<AclEntry>Acl. entries()Deprecated, for removal: This API element is subject to removal in a future version.Returns an enumeration of the entries in this ACL.Enumeration<Permission>Acl. getPermissions(Principal user)Deprecated, for removal: This API element is subject to removal in a future version.Returns an enumeration for the set of allowed permissions for the specified principal (representing an entity such as an individual or a group).Enumeration<? extendsPrincipal>Group. members()Deprecated, for removal: This API element is subject to removal in a future version.Returns an enumeration of the members in the group.Enumeration<Permission>AclEntry. permissions()Deprecated, for removal: This API element is subject to removal in a future version.Returns an enumeration of the permissions in this ACL entry.Uses ofEnumeration injava.sql
Methods injava.sql that returnEnumeration Modifier and Type Method Description staticEnumeration<Driver>DriverManager. getDrivers()Retrieves an Enumeration with all of the currently loaded JDBC drivers to which the current caller has access.Uses ofEnumeration injava.util
Classes injava.util that implementEnumeration Modifier and Type Class Description classStringTokenizerThe string tokenizer class allows an application to break a string into tokens.Methods injava.util that returnEnumeration Modifier and Type Method Description abstractEnumeration<V>Dictionary. elements()Returns an enumeration of the values in this dictionary.Enumeration<V>Hashtable. elements()Returns an enumeration of the values in this hashtable.Enumeration<E>Vector. elements()Returns an enumeration of the components of this vector.static <T> Enumeration<T>Collections. emptyEnumeration()Returns an enumeration that has no elements.static <T> Enumeration<T>Collections. enumeration(Collection<T> c)Returns an enumeration over the specified collection.Enumeration<String>ListResourceBundle. getKeys()Returns anEnumerationof the keys contained in thisResourceBundleand its parent bundles.Enumeration<String>PropertyResourceBundle. getKeys()Returns anEnumerationof the keys contained in thisResourceBundleand its parent bundles.abstractEnumeration<String>ResourceBundle. getKeys()Returns an enumeration of the keys.abstractEnumeration<K>Dictionary. keys()Returns an enumeration of the keys in this dictionary.Enumeration<K>Hashtable. keys()Returns an enumeration of the keys in this hashtable.Enumeration<?>Properties. propertyNames()Returns an enumeration of all the keys in this property list, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.Methods injava.util with parameters of typeEnumeration Modifier and Type Method Description static <T> ArrayList<T>Collections. list(Enumeration<T> e)Returns an array list containing the elements returned by the specified enumeration in the order they are returned by the enumeration.Uses ofEnumeration injava.util.concurrent
Methods injava.util.concurrent that returnEnumeration Modifier and Type Method Description Enumeration<V>ConcurrentHashMap. elements()Returns an enumeration of the values in this table.Enumeration<K>ConcurrentHashMap. keys()Returns an enumeration of the keys in this table.Uses ofEnumeration injava.util.jar
Methods injava.util.jar that returnEnumeration Modifier and Type Method Description Enumeration<JarEntry>JarFile. entries()Returns an enumeration of the jar file entries.Uses ofEnumeration injava.util.logging
Methods injava.util.logging that returnEnumeration Modifier and Type Method Description Enumeration<String>LogManager. getLoggerNames()Get an enumeration of known logger names.Uses ofEnumeration injava.util.zip
Methods injava.util.zip that returnEnumeration Modifier and Type Method Description Enumeration<? extendsZipEntry>ZipFile. entries()Returns an enumeration of the ZIP file entries.Uses ofEnumeration injavax.management.loading
Methods injavax.management.loading that returnEnumeration Modifier and Type Method Description Enumeration<URL>MLetMBean. getResources(String name)Finds all the resources with the given name.Uses ofEnumeration injavax.naming
Subinterfaces ofEnumeration injavax.naming Modifier and Type Interface Description interfaceNamingEnumeration<T>This interface is for enumerating lists returned by methods in the javax.naming and javax.naming.directory packages.Methods injavax.naming that returnEnumeration Modifier and Type Method Description Enumeration<String>CompositeName. getAll()Retrieves the components of this composite name as an enumeration of strings.Enumeration<String>CompoundName. getAll()Retrieves the components of this compound name as an enumeration of strings.Enumeration<String>Name. getAll()Retrieves the components of this name as an enumeration of strings.Enumeration<RefAddr>Reference. getAll()Retrieves an enumeration of the addresses in this reference.Constructors injavax.naming with parameters of typeEnumeration Constructor Description CompositeName(Enumeration<String> comps)Constructs a new composite name instance using the components specified by 'comps'.CompoundName(Enumeration<String> comps,Properties syntax)Constructs a new compound name instance using the components specified in comps and syntax.Uses ofEnumeration injavax.naming.ldap
Methods injavax.naming.ldap that returnEnumeration Modifier and Type Method Description Enumeration<String>LdapName. getAll()Retrieves the components of this name as an enumeration of strings.Uses ofEnumeration injavax.net.ssl
Methods injavax.net.ssl that returnEnumeration Modifier and Type Method Description Enumeration<byte[]>SSLSessionContext. getIds()Returns an Enumeration of all session id's grouped under thisSSLSessionContext.Uses ofEnumeration injavax.security.sasl
Methods injavax.security.sasl that returnEnumeration Modifier and Type Method Description staticEnumeration<SaslClientFactory>Sasl. getSaslClientFactories()Gets an enumeration of known factories for producingSaslClient.staticEnumeration<SaslServerFactory>Sasl. getSaslServerFactories()Gets an enumeration of known factories for producingSaslServer.Uses ofEnumeration injavax.sql.rowset.spi
Methods injavax.sql.rowset.spi that returnEnumeration Modifier and Type Method Description staticEnumeration<SyncProvider>SyncFactory. getRegisteredProviders()Returns an Enumeration of currently registered synchronization providers.Uses ofEnumeration injavax.swing
Methods injavax.swing that returnEnumeration Modifier and Type Method Description Enumeration<TreeNode>JTree.DynamicUtilTreeNode. children()Subclassed to load the children, if necessary.Enumeration<E>DefaultListModel. elements()Returns an enumeration of the components of this list.protectedEnumeration<TreePath>JTree. getDescendantToggledPaths(TreePath parent)Returns anEnumerationofTreePathsthat have been expanded that are descendants ofparent.Enumeration<AbstractButton>ButtonGroup. getElements()Returns all the buttons that are participating in this group.Enumeration<TreePath>JTree. getExpandedDescendants(TreePath parent)Returns anEnumerationof the descendants of the pathparentthat are currently expanded.Methods injavax.swing with parameters of typeEnumeration Modifier and Type Method Description protected voidJTree. removeDescendantToggledPaths(Enumeration<TreePath> toRemove)Removes any descendants of theTreePathsintoRemovethat have been expanded.Uses ofEnumeration injavax.swing.table
Methods injavax.swing.table that returnEnumeration Modifier and Type Method Description Enumeration<TableColumn>DefaultTableColumnModel. getColumns()Returns anEnumerationof all the columns in the model.Enumeration<TableColumn>TableColumnModel. getColumns()Returns anEnumerationof all the columns in the model.Uses ofEnumeration injavax.swing.text
Methods injavax.swing.text that returnEnumeration Modifier and Type Method Description abstractEnumeration<TreeNode>AbstractDocument.AbstractElement. children()Returns the children of the receiver as anEnumeration.Enumeration<TreeNode>AbstractDocument.BranchElement. children()Returns the children of the receiver as anEnumeration.Enumeration<TreeNode>AbstractDocument.LeafElement. children()Returns the children of the receiver as anEnumeration.Enumeration<?>AbstractDocument.AbstractElement. getAttributeNames()Gets the names of all attributes.Enumeration<?>AttributeSet. getAttributeNames()Returns an enumeration over the names of the attributes that are defined locally in the set.Enumeration<?>SimpleAttributeSet. getAttributeNames()Gets the names of the attributes in the set.Enumeration<?>StyleContext.NamedStyle. getAttributeNames()Gets the names of all attributes.Enumeration<?>StyleContext.SmallAttributeSet. getAttributeNames()Gets the names of all attributes.Enumeration<?>DefaultStyledDocument. getStyleNames()Fetches the list of style names.Enumeration<?>StyleContext. getStyleNames()Fetches the names of the styles defined.Methods injavax.swing.text with parameters of typeEnumeration Modifier and Type Method Description voidAbstractDocument.AbstractElement. removeAttributes(Enumeration<?> names)Removes a set of attributes for the element.AttributeSetAbstractDocument.AttributeContext. removeAttributes(AttributeSet old,Enumeration<?> names)Removes a set of attributes for the element.voidMutableAttributeSet. removeAttributes(Enumeration<?> names)Removes an attribute set with the givennames.voidSimpleAttributeSet. removeAttributes(Enumeration<?> names)Removes a set of attributes from the list.voidStyleContext.NamedStyle. removeAttributes(Enumeration<?> names)Removes a set of attributes for the element.AttributeSetStyleContext. removeAttributes(AttributeSet old,Enumeration<?> names)Removes a set of attributes for the element.Uses ofEnumeration injavax.swing.text.html
Methods injavax.swing.text.html with parameters of typeEnumeration Modifier and Type Method Description AttributeSetStyleSheet. removeAttributes(AttributeSet old,Enumeration<?> names)Removes a set of attributes for the element.Uses ofEnumeration injavax.swing.text.html.parser
Methods injavax.swing.text.html.parser that returnEnumeration Modifier and Type Method Description Enumeration<?>AttributeList. getValues()Uses ofEnumeration injavax.swing.tree
Fields injavax.swing.tree declared asEnumeration Modifier and Type Field Description staticEnumeration<TreeNode>DefaultMutableTreeNode. EMPTY_ENUMERATIONAn enumeration that is always empty.Methods injavax.swing.tree that returnEnumeration Modifier and Type Method Description Enumeration<TreeNode>DefaultMutableTreeNode. breadthFirstEnumeration()Creates and returns an enumeration that traverses the subtree rooted at this node in breadth-first order.Enumeration<TreeNode>DefaultMutableTreeNode. children()Creates and returns a forward-order enumeration of this node's children.Enumeration<? extendsTreeNode>TreeNode. children()Returns the children of the receiver as anEnumeration.Enumeration<TreeNode>DefaultMutableTreeNode. depthFirstEnumeration()Creates and returns an enumeration that traverses the subtree rooted at this node in depth-first order.abstractEnumeration<TreePath>AbstractLayoutCache. getVisiblePathsFrom(TreePath path)Returns anEnumeratorthat increments over the visible paths starting at the passed in location.Enumeration<TreePath>FixedHeightLayoutCache. getVisiblePathsFrom(TreePath path)Returns an Enumerator that increments over the visible paths starting at the passed in location.Enumeration<TreePath>VariableHeightLayoutCache. getVisiblePathsFrom(TreePath path)Returns anEnumeratorthat increments over the visible paths starting at the passed in location.Enumeration<TreeNode>DefaultMutableTreeNode. pathFromAncestorEnumeration(TreeNode ancestor)Creates and returns an enumeration that follows the path fromancestorto this node.Enumeration<TreeNode>DefaultMutableTreeNode. postorderEnumeration()Creates and returns an enumeration that traverses the subtree rooted at this node in postorder.Enumeration<TreeNode>DefaultMutableTreeNode. preorderEnumeration()Creates and returns an enumeration that traverses the subtree rooted at this node in preorder.Uses ofEnumeration inorg.xml.sax.helpers
Methods inorg.xml.sax.helpers that returnEnumeration Modifier and Type Method Description Enumeration<String>NamespaceSupport. getDeclaredPrefixes()Return an enumeration of all prefixes declared in this context.Enumeration<String>NamespaceSupport. getPrefixes()Return an enumeration of all prefixes whose declarations are active in the current context.Enumeration<String>NamespaceSupport. getPrefixes(String uri)Return an enumeration of all prefixes for a given URI whose declarations are active in the current context.