# Package org.codehaus.commons.compiler.util.iterator

package org.codehaus.commons.compiler.util.iterator

Related Packages
Package
Description
org.codehaus.commons.compiler.util
Utility functionality for this project.
org.codehaus.commons.compiler.util.reflect
Utility functionality related to `java.util.reflect`.
org.codehaus.commons.compiler.util.resource
Classes related to loading "resources" (`ResourceFinder`) and creating resources (`ResourceCreator`).
Class
Description
DirectoryIterator
An `Iterator<File>` that finds regular files who's names are `accepted` by the fileNameFilter and exist in the given rootDirectory, or exist in any subdirectory of the rootDirectory that is `accepted` by the directoryNameFilter.
DirectoryIterator.DirectoryNotListableException
Indicates that `File.listFiles()` returned `null` for a particular directory.
EnumerationIterator<T>
An `Iterator` that iterates over the elements of an `Enumeration`.
FilterListIterator<T>
An `ListIterator` that retrieves its elements from a delegate `ListIterator`.
Iterables
Utility method around `Iterable`s and `Iterator`s.
IteratorCollection<T>
A `Collection` that lazily reads its elements from an `Iterator`.
MultiDimensionalIterator<T>
An `Iterator` that iterates over a delegate, which produces arrays, `Collection`s, `Enumeration`s or `Iterator`s.
MultiIterator<T>
An `Iterator` that traverses a `Collection` of `Iterator`s, `Collection`s and/or arrays.
ProducerIterator<T>
An `Iterator` that iterates over all the objects produced by a delegate `Producer`.
ReverseListIterator<T>
A `ListIterator` that reverses the direction of all operations of a delegate `ListIterator`.
TransformingIterator<T1,T2>
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 over it recursively.
UniterableElementException
Thrown by `MultiDimensionalIterator` to indicate that it has encountered an element that cannot be iterated.