saffron.runtime
Class CompoundIterator
java.lang.Object
|
+--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 |
iterators
private Iterator[] iterators
i
private int i
iterator
private Iterator iterator
CompoundIterator
public CompoundIterator(Iterator[] iterators)
nextIterator
private void nextIterator()
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