| |
|
| java.lang.Object org.archive.util.iterator.CompositeIterator
CompositeIterator | public class CompositeIterator implements Iterator(Code) | | An iterator that's built up out of any number of other iterators.
author: gojomo |
indexOfCurrentIterator | int indexOfCurrentIterator(Code) | | |
CompositeIterator | public CompositeIterator()(Code) | | Create an empty CompositeIterator. Internal
iterators may be added later.
|
CompositeIterator | public CompositeIterator(Iterator i1, Iterator i2)(Code) | | Convenience method for concatenating together
two iterators.
Parameters: i1 - Parameters: i2 - |
add | public void add(Iterator i)(Code) | | Add an iterator to the internal chain.
Parameters: i - an iterator to add. |
hasNext | public boolean hasNext()(Code) | | |
remove | public void remove()(Code) | | |
|
|
|