Class AbstractUntypedIteratorDecorator<I,O>
java.lang.Object
org.apache.openjpa.lib.util.collections.AbstractUntypedIteratorDecorator<I,O>
- All Implemented Interfaces:
Iterator<O>
- Direct Known Subclasses:
AbstractIteratorDecorator
Provides basic behaviour for decorating an iterator with extra functionality
without committing the generic type of the Iterator implementation.
All methods are forwarded to the decorated iterator.
- Since:
- 4.0
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractUntypedIteratorDecorator
(Iterator<I> iterator) Create a new AbstractUntypedIteratorDecorator. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, next
-
Constructor Details
-
AbstractUntypedIteratorDecorator
Create a new AbstractUntypedIteratorDecorator.- Parameters:
iterator
- the iterator to decorate- Throws:
NullPointerException
- if the iterator is null
-
-
Method Details