Package org.codehaus.commons.compiler.util.iterator
-
Class Summary Class Description DirectoryIterator AnIterator<File>
that finds regular files who's names areaccepted
by the fileNameFilter and exist in the given rootDirectory, or exist in any subdirectory of the rootDirectory that isaccepted
by the directoryNameFilter.EnumerationIterator<T> AnIterator
that iterates over the elements of anEnumeration
.FilterListIterator<T> AnListIterator
that retrieves its elements from a delegateListIterator
.Iterables IteratorCollection<T> ACollection
that lazily reads its elements from anIterator
.MultiDimensionalIterator<T> AnIterator
that iterates over a delegate, which produces arrays,Collection
s,Enumeration
s orIterator
s.MultiIterator<T> ProducerIterator<T> ReverseListIterator<T> AListIterator
that reverses the direction of all operations of a delegateListIterator
.TransformingIterator<T1,T2> AnIterator
that transforms its elements on-the-fly.TraversingIterator AnIterator
that iterates over a delegate, and while it encounters an array, aCollection
, anEnumeration
or aIterator
element, it iterates over it recursively. -
Exception Summary Exception Description DirectoryIterator.DirectoryNotListableException Indicates thatFile.listFiles()
returnednull
for a particular directory.UniterableElementException Thrown byMultiDimensionalIterator
to indicate that it has encountered an element that cannot be iterated.