Class AbstractIteratorDecorator<E>
java.lang.Object
org.apache.commons.collections4.iterators.AbstractUntypedIteratorDecorator<E,E>
org.apache.commons.collections4.iterators.AbstractIteratorDecorator<E>
- All Implemented Interfaces:
Iterator<E>
- Direct Known Subclasses:
AbstractDualBidiMap.EntrySetIterator, AbstractDualBidiMap.KeySetIterator, AbstractDualBidiMap.ValuesIterator, AbstractInputCheckedMapDecorator.EntrySetIterator, AbstractMapMultiSet.UniqueSetIterator, AbstractMultiValuedMap.AsMap.AsMapEntrySetIterator, ListOrderedSet.OrderedSetIterator, SetUniqueList.SetListIterator, SkippingIterator, UnmodifiableEntrySet.UnmodifiableEntrySetIterator
Provides basic behaviour for decorating an iterator with extra functionality.
All methods are forwarded to the decorated iterator.
- Since:
- 3.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractIteratorDecorator(Iterator<E> iterator) Constructor that decorates the specified iterator. -
Method Summary
Methods inherited from class AbstractUntypedIteratorDecorator
getIterator, hasNext, removeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
AbstractIteratorDecorator
Constructor that decorates the specified iterator.- Parameters:
iterator- the iterator to decorate, must not be null- Throws:
NullPointerException- if the iterator is null
-
-
Method Details
-
next
-