net.sf.saffron.runtime
Class CompoundIterator
java.lang.Object
|
+--net.sf.saffron.runtime.CompoundIterator
- All Implemented Interfaces:
- Iterator
- public class CompoundIterator
- extends Object
- implements Iterator
CompoundIterator
creates an iterator out of several.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterator
private Iterator iterator
iterators
private Iterator[] iterators
i
private int i
CompoundIterator
public CompoundIterator(Iterator[] iterators)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
nextIterator
private void nextIterator()