Package org.apache.commons.collections.iterators

This package contains implementations of the Iterator interface.

Class Summary

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 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 instances appear to be Iterator instances.
FilterIterator Decorates an iterator such that only elements matching a predicate filter are returned.
FilterListIterator A proxy ListIterator which takes a Predicate instance to filter out objects from an underlying ListIterator instance.
IteratorChain An IteratorChain is an Iterator that wraps a number of Iterators.
IteratorEnumeration Adapter to make an Iterator instance appear to be an Enumeration instance.
ListIteratorWrapper As the wrapped Iterator is traversed, ListIteratorWrapper builds a LinkedList of its values, permitting all required operations of ListIterator.
LoopingIterator An Iterator that restarts when it reaches the end.
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 A Proxy Iterator which delegates its methods to a proxy instance.
ProxyListIterator A proxy ListIterator which delegates its methods to a proxy instance.
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.
This package contains implementations of the 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.


Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.