org.jikesrvm.compilers.opt.util
Class CompoundEnumerator<T>
java.lang.Object
org.jikesrvm.compilers.opt.util.CompoundEnumerator<T>
- All Implemented Interfaces:
- Enumeration<T>
public class CompoundEnumerator<T>
- extends Object
- implements Enumeration<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
first
private final Enumeration<T> first
second
private final Enumeration<T> second
CompoundEnumerator
public CompoundEnumerator(Enumeration<T> first,
Enumeration<T> second)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration<T>
nextElement
public T nextElement()
- Specified by:
nextElement
in interface Enumeration<T>