Package org.apache.commons.collections4.iterators
package org.apache.commons.collections4.iterators
Implements 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.
-
ClassDescriptionProvides an implementation of an empty map iterator.Provides basic behavior for decorating an iterator with extra functionality.Provides basic behavior for decorating a list iterator with extra functionality.Provides basic behavior for decorating a map iterator with extra functionality.Provides basic behavior for decorating an ordered map iterator with extra functionality.Provides basic behavior for decorating an iterator with extra functionality without committing the generic type of the Iterator implementation.Implements an
Iterator
over any array.Implements aListIterator
over an array.Decorates another iterator to return elements in a specific range.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.EmptyMapIterator<K,V> 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.EntrySetMapIterator<K,V> 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.An LazyIteratorChain is an Iterator that wraps a number of Iterators in a lazy manner.Converts anIterator
into aResettableListIterator
.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.Decorates an iterator to support one-element lookahead while iterating.This iterator creates permutations of an input collection, using the Steinhaus-Johnson-Trotter algorithm (also called plain changes).Decorates an iterator to support pushback of elements.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 another iterator to skip the first N elements.TransformIterator<I,O> 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.Provides an interleaved iteration over the elements contained in a collection of Iterators.