public abstract class TransformingIterator extends FilterIterator
Iterator that transforms its elements on-the-fly.delegate| Constructor and Description |
|---|
TransformingIterator(Iterator delegate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
next() |
protected abstract Object |
transform(Object o)
Derived classes must implement this method such that it does the
desired transformation.
|
hasNext, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic TransformingIterator(Iterator delegate)
Copyright © 2001–2014. All rights reserved.