overview
Introduction
Related Helper Classes for Iterators
The collections package includes wrappers for Enumerations, Iterators, and more, including:
- ArrayIterator: An Iterator for arrays that facilitates traversal using the Iterator pattern.
- CopiedIterator: A wrapper for Iterator to solve issues related to concurrent iteration.
- EnumerationIterator: A manifestation of Enumeration as an Iterator.
- IteratorEnumeration: A manifestation of Iterator as an Enumeration.
In addition, the package provides IterUtil
and CollUtil
utility classes to simplify operations on Iterator
s and collections.