T - The type of the iterator’s elementspublic class ProcessedIterator<T> extends Object implements Iterator<T>
Iterator implementation that applies a Processor to each
element before returning from the call to next().| Constructor and Description |
|---|
ProcessedIterator(Iterator<T> iterator,
Processor<? super T> processor)
Creates a new processed iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2026. All rights reserved.