de.lmu.ifi.dbs.elki.utilities.datastructures.heap
Class KNNList.DBIDItr

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.datastructures.heap.KNNList.DBIDItr
All Implemented Interfaces:
Iterator<DBID>
Enclosing class:
KNNList<D extends Distance<D>>

protected static class KNNList.DBIDItr
extends Object
implements Iterator<DBID>

Proxy iterator for accessing DBIDs.


Field Summary
(package private)  Iterator<? extends DistanceResultPair<?>> itr
          The real iterator.
 
Constructor Summary
protected KNNList.DBIDItr(Iterator<? extends DistanceResultPair<?>> itr)
          Constructor.
 
Method Summary
 boolean hasNext()
           
 DBID next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

itr

Iterator<? extends DistanceResultPair<?>> itr
The real iterator.

Constructor Detail

KNNList.DBIDItr

protected KNNList.DBIDItr(Iterator<? extends DistanceResultPair<?>> itr)
Constructor.

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<DBID>

next

public DBID next()
Specified by:
next in interface Iterator<DBID>

remove

public void remove()
Specified by:
remove in interface Iterator<DBID>

Release 0.4.0 (2011-09-20_1324)