Package org.codehaus.janino.util.iterator
package org.codehaus.janino.util.iterator
Some generic
Iterator
-related helper classes.-
ClassDescriptionAn
Iterator
that finds the normalFile
s who's names areaccepted
by thefileNameFilter
and that exist in the givenrootDirectory
, and those that exist in all subdirectories of therootDirectory
who's names areFilenameFilter.accept(java.io.File, java.lang.String)
ed by thedirectoryNameFilter
AnIterator
that iterates over the elements of anEnumeration
.AnListIterator
that retrieves its elements from a delegateListIterator
.ACollection
that lazily reads its elements from anIterator
.AnIterator
that iterates over a delegate, which produces arrays,Collection
s,Enumeration
s orIterator
s.AListIterator
that reverses the direction of all operations of a delegateListIterator
.AnIterator
that transforms its elements on-the-fly.AnIterator
that iterates over a delegate, and while it encounters an array, aCollection
, anEnumeration
or aIterator
element, it iterates into it recursively.Thrown byMultiDimensionalIterator
to indicate that it has encountered an element that cannot be iterated.