de.lmu.ifi.dbs.elki.utilities.iterator
Interface IterableIterator<T>

Type Parameters:
T - Data type
All Superinterfaces:
Iterable<T>, Iterator<T>
All Known Implementing Classes:
CurveVisFactory.CurveFilter, EmptyIterator, HierarchyHashmapList.ItrAnc, HierarchyHashmapList.ItrDesc, HierarchyReferenceLists.ItrAnc, HierarchyReferenceLists.ItrDesc, IterableIteratorAdapter, IterateKnownImplementations, OneItemIterator, XMLNodeIterator, XMLNodeListIterator

public interface IterableIterator<T>
extends Iterable<T>, Iterator<T>

Interface that is both Iterable and an Iterator. Calling iterator() repeatedly MAY return the same iterator, e.g. the IterableIterator itself. In fact, this is the expected behavior, since this is just meant to allow the use of this Iterator in a foreach statement.


Method Summary
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 


Release 0.4.0 (2011-09-20_1324)