Package org.apache.commons.collections.iterators

This package contains implementations of the Iterator interface.

See:
          Description

Class Summary
AbstractIteratorDecorator<E> Provides basic behaviour for decorating an iterator with extra functionality.
AbstractListIteratorDecorator<E> Provides basic behaviour for decorating a list iterator with extra functionality.
AbstractMapIteratorDecorator<K,V> Provides basic behaviour for decorating a map iterator with extra functionality.
AbstractOrderedMapIteratorDecorator<K,V> Provides basic behaviour for decorating an ordered map iterator with extra functionality.
ArrayIterator<E> Implements an Iterator over any array.
ArrayListIterator<E> Implements a ListIterator over an array.
CollatingIterator<E> Provides an ordered iteration over the elements contained in a collection of ordered Iterators.
EmptyIterator<E> Provides an implementation of an empty iterator.
EmptyListIterator<E> Provides an implementation of an empty list iterator.
EmptyMapIterator Provides an implementation of an empty map iterator.
EmptyOrderedIterator<E> Provides an implementation of an empty ordered iterator.
EmptyOrderedMapIterator Provides an implementation of an empty ordered map iterator.
EntrySetMapIterator<K,V> Implements a MapIterator using a Map entrySet.
EnumerationIterator<E> Adapter to make Enumeration instances appear to be Iterator instances.
FilterIterator<E> Decorates an iterator such that only elements matching a predicate filter are returned.
FilterListIterator<E> A proxy ListIterator which takes a Predicate instance to filter out objects from an underlying ListIterator instance.
IteratorChain<E> An IteratorChain is an Iterator that wraps a number of Iterators.
IteratorEnumeration<E> Adapter to make an Iterator instance appear to be an Enumeration instance.
ListIteratorWrapper<E> As the wrapped Iterator is traversed, ListIteratorWrapper builds a LinkedList of its values, permitting all required operations of ListIterator.
LoopingIterator<E> An Iterator that restarts when it reaches the end.
ObjectArrayIterator<E> An Iterator over an array of objects.
ObjectArrayListIterator<E> Implements a ListIterator over an array of objects.
ObjectGraphIterator An Iterator that can traverse multiple iterators down an object graph.
SingletonIterator<E> SingletonIterator is an Iterator over a single object instance.
SingletonListIterator<E> SingletonIterator is an ListIterator over a single object instance.
TransformIterator<I,O> Decorates an iterator such that each element returned is transformed.
UniqueFilterIterator<E> A FilterIterator which only returns "unique" Objects.
UnmodifiableIterator<E> Decorates an iterator such that it cannot be modified.
UnmodifiableListIterator<E> Decorates a list iterator such that it cannot be modified.
UnmodifiableMapIterator<K,V> Decorates a map iterator such that it cannot be modified.
UnmodifiableOrderedMapIterator<K,V> Decorates an ordered map iterator such that it cannot be modified.
 

Package org.apache.commons.collections.iterators Description

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 © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.