Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

Type Parameters:
T - Data type
All Superinterfaces:
Iterable<T>, Iterator<T>
All Known Implementing Classes:
IterableIteratorAdapter, IterateKnownImplementations, 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.

Author:
Erich Schubert

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


Release 0.3 (2010-03-31_1612)