public class

CompoundEnumeration

extends Object
implements Enumeration<E>
java.lang.Object
   ↳ sun.misc.CompoundEnumeration<E>

Summary

Public Constructors
CompoundEnumeration(Enumeration[] enums)
Public Methods
boolean hasMoreElements()
Tests if this enumeration contains more elements.
E nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Enumeration

Public Constructors

public CompoundEnumeration (Enumeration[] enums)

Public Methods

public boolean hasMoreElements ()

Tests if this enumeration contains more elements.

Returns
  • true if and only if this enumeration object contains at least one more element to provide; false otherwise.

public E nextElement ()

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

Returns
  • the next element of this enumeration.