Interface Enumeration<E>

Type Parameters:
E - the type of elements returned by this enumeration
All Known Subinterfaces:
NamingEnumeration<T>
All Known Implementing Classes:
StringTokenizer

  • Method Summary

    Modifier and Type

    Method

    Description

    Returns an Iterator that traverses the remaining elements covered by this enumeration.

    boolean

    Tests if this enumeration contains more elements.

    Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

  • Method Details

    • hasMoreElements

    • nextElement

    • asIterator