## Uses of Interface
java.util.Enumeration

- Packages that use Enumeration
  Package | Description
  --- | ---
  java.lang |
  java.util |

- - ### Uses of Enumeration in java.lang

    Methods in java.lang that return Enumeration
    Modifier and Type | Method and Description
    --- | ---
    `protected Enumeration<URL>` | ClassLoader.`findResources(String name)` Returns an enumeration of ``URL`` objects representing all the resources with the given name.
    `Enumeration<URL>` | ClassLoader.`getResources(String name)` Finds all the resources with the given name.
    `static Enumeration<URL>` | ClassLoader.`getSystemResources(String name)` Finds all resources of the specified name from the search path used to load classes.

  - ### Uses of Enumeration in java.util

    Classes in java.util that implement Enumeration
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StringTokenizer` The string tokenizer class allows an application to break a string into tokens.

    Methods in java.util that return Enumeration
    Modifier and Type | Method and Description
    --- | ---
    `Enumeration<E>` | Vector.`elements()` Returns an enumeration of the components of this vector.
    `Enumeration<V>` | Hashtable.`elements()` Returns an enumeration of the values in this hashtable.
    `abstract Enumeration<V>` | Dictionary.`elements()` Returns an enumeration of the values in this dictionary.
    `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.
    `abstract Enumeration<String>` | ResourceBundle.`getKeys()` Returns an enumeration of the keys.
    `Enumeration<String>` | PropertyResourceBundle.`getKeys()` Returns an `Enumeration` of the keys contained in this `ResourceBundle` and its parent bundles.
    `Enumeration<K>` | Hashtable.`keys()` Returns an enumeration of the keys in this hashtable.
    `abstract Enumeration<K>` | Dictionary.`keys()` Returns an enumeration of the keys in this dictionary.
    `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 in java.util with parameters of type Enumeration
    Modifier and Type | Method and 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.

Copyright © 2025 API Design. All Rights Reserved.