T - the type of objects this Iterator holds@ConsumerType
public class IteratorWrapper<T>
extends java.lang.Object
implements java.util.Iterator<T>
Iterators, 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 iteratorCopyright © 2022 The Apache Software Foundation. All rights reserved.