@GwtCompatible public abstract class ForwardingIterator<T> extends ForwardingObject implements Iterator<T>
default method warning: This class forwards calls to only some default methods. Specifically, it forwards calls only for methods that existed before default
 methods were introduced. For newer methods, like forEachRemaining, it inherits their
 default implementations. When those implementations invoke methods, they invoke methods on the
 ForwardingIterator.
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ForwardingIterator()
Constructor for use by subclasses. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract Iterator<T> | 
delegate()
Returns the backing delegate instance that methods are forwarded to. 
 | 
boolean | 
hasNext()  | 
T | 
next()  | 
void | 
remove()  | 
toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingprotected ForwardingIterator()
protected abstract Iterator<T> delegate()
ForwardingObjectForwardingSet.delegate(). Concrete subclasses override this method to supply
 the instance being decorated.delegate in class ForwardingObjectCopyright © 2010–2017. All rights reserved.