public class CompoundEnumeration<T> extends Object implements Enumeration<T>
Enumeration that aggregates multiple Enumerations.| Constructor and Description |
|---|
CompoundEnumeration(Enumeration... e) |
CompoundEnumeration(Iterable<Enumeration<? extends T>> e) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
T |
nextElement() |
public CompoundEnumeration(Enumeration... e)
public CompoundEnumeration(Iterable<Enumeration<? extends T>> e)
public boolean hasMoreElements()
hasMoreElements in interface Enumeration<T>public T nextElement() throws NoSuchElementException
nextElement in interface Enumeration<T>NoSuchElementExceptionCopyright © 2019. All rights reserved.