- Type Parameters:
T
-
- All Superinterfaces:
- java.lang.Iterable<T>, java.util.Iterator<T>
- All Known Implementing Classes:
- TreeNodeBase.IteratorDerivedImpl, TreeNodeBase.IteratorDerivedNode, TreeNodeBase.IteratorMetaNode, TreeNodeBase.IteratorOneNode
public interface IterableIterator<T>
extends java.util.Iterator<T>, java.lang.Iterable<T>
This interface implements both a Iterator
and a Iterable
.
It means the routines Iterator.hasNext()
etc. are able to call
and Iterable.iterator()
is able to call, which returns this.
In this kind the method can be used in a for-container-loop.