package

org.apache.commons.collections.iterators

This package contains implementations of the java.util.Iterator Iterator interface.

You may also consider using IteratorUtils, which is a single class that uses static methods to construct instances of the classes in this package.

Classes

AbstractIteratorDecorator Provides basic behaviour for decorating an iterator with extra functionality. 
AbstractListIteratorDecorator Provides basic behaviour for decorating a list iterator with extra functionality. 
AbstractMapIteratorDecorator Provides basic behaviour for decorating a map iterator with extra functionality. 
AbstractOrderedMapIteratorDecorator Provides basic behaviour for decorating an ordered map iterator with extra functionality. 
ArrayIterator Implements an java.util.Iterator Iterator over any array. 
ArrayListIterator Implements a ListIterator over an array. 
CollatingIterator Provides an ordered iteration over the elements contained in a collection of ordered Iterators. 
EmptyIterator Provides an implementation of an empty iterator. 
EmptyListIterator Provides an implementation of an empty list iterator. 
EmptyMapIterator Provides an implementation of an empty map iterator. 
EmptyOrderedIterator Provides an implementation of an empty ordered iterator. 
EmptyOrderedMapIterator Provides an implementation of an empty ordered map iterator. 
EntrySetMapIterator Implements a MapIterator using a Map entrySet. 
EnumerationIterator Adapter to make Enumeration Enumeration instances appear to be Iterator Iterator instances. 
FilterIterator Decorates another Iterator using a predicate to filter elements. 
FilterListIterator Decorates another ListIterator using a predicate to filter elements. 
IteratorChain An IteratorChain is an Iterator that wraps a number of Iterators. 
IteratorEnumeration Adapter to make an Iterator Iterator instance appear to be an Enumeration Enumeration instance. 
ListIteratorWrapper Converts an iterator into a list iterator by caching the returned entries. 
LoopingIterator An Iterator that restarts when it reaches the end. 
LoopingListIterator A ListIterator that restarts when it reaches the end or when it reaches the beginning. 
ObjectArrayIterator An Iterator over an array of objects. 
ObjectArrayListIterator Implements a ListIterator over an array of objects. 
ObjectGraphIterator An Iterator that can traverse multiple iterators down an object graph. 
ProxyIterator This class is deprecated. Use AbstractIteratorDecorator. Will be removed in v4.0 
ProxyListIterator This class is deprecated. Use AbstractListIteratorDecorator. Will be removed in v4.0 
ReverseListIterator Iterates backwards through a List, starting with the last element and continuing to the first. 
SingletonIterator SingletonIterator is an Iterator over a single object instance. 
SingletonListIterator SingletonIterator is an ListIterator over a single object instance. 
TransformIterator Decorates an iterator such that each element returned is transformed. 
UniqueFilterIterator A FilterIterator which only returns "unique" Objects. 
UnmodifiableIterator Decorates an iterator such that it cannot be modified. 
UnmodifiableListIterator Decorates a list iterator such that it cannot be modified. 
UnmodifiableMapIterator Decorates a map iterator such that it cannot be modified. 
UnmodifiableOrderedMapIterator Decorates an ordered map iterator such that it cannot be modified.