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
Iterator
over any array.Implements aListIterator
over 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 aMapIterator
using a Map entrySet.Adapter to makeEnumeration
instances appear to beIterator
instances.Decorates anotherIterator
using a predicate to filter elements.Decorates anotherListIterator
using a predicate to filter elements.An IteratorChain is an Iterator that wraps a number of Iterators.Adapter to make anIterator
instance appear to be anEnumeration
instance.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.AnIterator
over an array of objects.Implements aListIterator
over 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.SingletonIterator
is anIterator
over a single object instance.SingletonIterator
is anListIterator
over 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.