Package org.codehaus.janino.util.iterator
Some generic
Iterator-related helper classes.-
Class Summary Class Description DirectoryIterator AnIteratorthat finds the normalFiles who's names areacceptedby thefileNameFilterand that exist in the givenrootDirectory, and those that exist in all subdirectories of therootDirectorywho's names areFilenameFilter.accept(java.io.File, java.lang.String)ed by thedirectoryNameFilterEnumerationIterator<T> AnIteratorthat iterates over the elements of anEnumeration.FilterIterator<T> FilterListIterator<T> AnListIteratorthat retrieves its elements from a delegateListIterator.IteratorCollection<T> ACollectionthat lazily reads its elements from anIterator.MultiDimensionalIterator AnIteratorthat iterates over a delegate, which produces arrays,Collections,Enumerations orIterators.ProducerIterator<T> ReverseListIterator<T> AListIteratorthat reverses the direction of all operations of a delegateListIterator.TransformingIterator<T1,T2> AnIteratorthat transforms its elements on-the-fly.TraversingIterator AnIteratorthat iterates over a delegate, and while it encounters an array, aCollection, anEnumerationor aIteratorelement, it iterates over it recursively. -
Exception Summary Exception Description UniterableElementException Thrown byMultiDimensionalIteratorto indicate that it has encountered an element that cannot be iterated.