org.codehaus.janino.util.iterator
public class MultiDimensionalIterator extends Object implements Iterator
The count of dimensions is declared at construction. Count "1" produces an java.util.Iterator that adds no functionality to its delegate, count "2" produces an Iterator that behaves as explained above, and so forth.
Constructor Summary | |
---|---|
MultiDimensionalIterator(Iterator delegate, int dimensionCount) |
Method Summary | |
---|---|
boolean | hasNext() |
Object | next() |
void | remove() |
Throws: UniterableElementException