public class CompoundEnumerator<T> extends Object implements Enumeration<T>
| Modifier and Type | Field and Description |
|---|---|
private Enumeration<T> |
first |
private Enumeration<T> |
second |
| Constructor and Description |
|---|
CompoundEnumerator(Enumeration<T> first,
Enumeration<T> second) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
T |
nextElement() |
private final Enumeration<T> first
private final Enumeration<T> second
public CompoundEnumerator(Enumeration<T> first, Enumeration<T> second)
public boolean hasMoreElements()
hasMoreElements in interface Enumeration<T>public T nextElement()
nextElement in interface Enumeration<T>