T
- the type of objects this Iterator
holdspublic class IteratorWrapper<T>
extends java.lang.Object
implements java.util.Iterator<T>
Iterator
s, that forwards all method calls to the wrapped Iterator
.Constructor and Description |
---|
IteratorWrapper(java.util.Iterator<T> wrappedIterator)
Creates a wrapping iterator, delegating all method calls to the given
wrappedIterator . |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
public IteratorWrapper(java.util.Iterator<T> wrappedIterator)
wrappedIterator
.wrappedIterator
- the wrapped iterator"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"