Package org.apache.commons.collections.iterators
package org.apache.commons.collections.iterators
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.
-
ClassesClassDescriptionProvides basic behaviour for decorating an iterator with extra functionality.Provides basic behaviour for decorating a list iterator with extra functionality.Provides basic behaviour for decorating a map iterator with extra functionality.Provides basic behaviour for decorating an ordered map iterator with extra functionality.Implements an
Iteratorover any array.Implements aListIteratorover an array.Provides an ordered iteration over the elements contained in a collection of ordered Iterators.Provides an implementation of an empty iterator.Provides an implementation of an empty list iterator.Provides an implementation of an empty map iterator.Provides an implementation of an empty ordered iterator.Provides an implementation of an empty ordered map iterator.Implements aMapIteratorusing a Map entrySet.Adapter to makeEnumerationinstances appear to beIteratorinstances.Decorates anotherIteratorusing a predicate to filter elements.Decorates anotherListIteratorusing a predicate to filter elements.An IteratorChain is an Iterator that wraps a number of Iterators.Adapter to make anIteratorinstance appear to be anEnumerationinstance.Converts an iterator into a list iterator by caching the returned entries.An Iterator that restarts when it reaches the end.A ListIterator that restarts when it reaches the end or when it reaches the beginning.AnIteratorover an array of objects.Implements aListIteratorover an array of objects.An Iterator that can traverse multiple iterators down an object graph.Deprecated.Use AbstractIteratorDecorator.Deprecated.Use AbstractListIteratorDecorator.Iterates backwards through a List, starting with the last element and continuing to the first.SingletonIteratoris anIteratorover a single object instance.SingletonIteratoris anListIteratorover a single object instance.Decorates an iterator such that each element returned is transformed.A FilterIterator which only returns "unique" Objects.Decorates an iterator such that it cannot be modified.Decorates a list iterator such that it cannot be modified.Decorates a map iterator such that it cannot be modified.Decorates an ordered map iterator such that it cannot be modified.