org.codehaus.janino.util
public class MultiIterator extends Object implements Iterator
| Constructor Summary | |
|---|---|
| MultiIterator(Iterator[] iterators) | |
| MultiIterator(Collection[] collections) | |
| MultiIterator(Object[][] arrays) | |
| MultiIterator(Collection collection) | |
| MultiIterator(Iterator iterator) | |
| MultiIterator(Object[] array) | |
| MultiIterator(Object object, Collection collection)
Iterates over the given Collection, prepended with the given Object. | |
| MultiIterator(Collection collection, Object object)
Iterates over the given Collection, appended with the given Object. | |
| MultiIterator(Object prefix, Iterator iterator)
Iterates over the given Iterator, prepended with the given prefix. | |
| MultiIterator(Iterator iterator, Object suffix)
Iterates over the given Iterator, appended with the given suffix. | |
| Method Summary | |
|---|---|
| boolean | hasNext() |
| Object | next() |
| void | remove() |
Parameters: iterators An array of Iterators
Parameters: collections An array of Collections
Parameters: arrays An array of arrays
Parameters: collection A Collection of Collections, Iterators and/or arrays
Parameters: iterator An iterator over Collections, Iterators and/or arrays
Parameters: array An array of Collections, Iterators and/or arrays
prefix.suffix.