Web Site

Package org.codehaus.janino.util.iterator

Some generic Iterator-related helper classes.

See:
          Description

Class Summary
DirectoryIterator An Iterator that finds the normal Files who's names are FilenameFilter.accept(java.io.File, java.lang.String)ed by the fileNameFilter and that exist in the given rootDirectory, and those that exist in all subdirectories of the rootDirectory who's names are FilenameFilter.accept(java.io.File, java.lang.String)ed by the directoryNameFilter
EnumerationIterator An Iterator that iterates over the elements of an Enumeration.
FilterIterator An Iterator that retrieves its elements from a delegate Iterator.
FilterListIterator An ListIterator that retrieves its elements from a delegate ListIterator.
IteratorCollection A Collection that lazily reads its elements from an Iterator.
MultiDimensionalIterator An Iterator that iterates over a delegate, which produces arrays, Collections, Enumerations or Iterators.
ProducerIterator An Iterator that iterates over all the objects produced by a delegate Producer.
ReverseListIterator A ListIterator that reverses the direction of all operations of a delegate ListIterator.
TransformingIterator An Iterator that transforms its elements on-the-fly.
TraversingIterator An Iterator that iterates over a delegate, and while it encounters an array, a Collection, an Enumeration or a Iterator element, it iterates into it recursively.
 

Exception Summary
UniterableElementException Thrown by MultiDimensionalIterator to indicate that it has encountered an element that cannot be iterated.
 

Package org.codehaus.janino.util.iterator Description

Some generic Iterator-related helper classes.


Web Site