de.lmu.ifi.dbs.elki.utilities.datastructures.heap
Class KNNList.DistanceItr<D extends Distance<D>>

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

protected static class KNNList.DistanceItr<D extends Distance<D>>
extends Object
implements Iterator<D>

Proxy iterator for accessing DBIDs.


Field Summary
(package private)  Iterator<? extends DistanceResultPair<D>> itr
          The real iterator.
 
Constructor Summary
protected KNNList.DistanceItr(Iterator<? extends DistanceResultPair<D>> itr)
          Constructor.
 
Method Summary
 boolean hasNext()
           
 D 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<D extends Distance<D>>> itr
The real iterator.

Constructor Detail

KNNList.DistanceItr

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

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<D extends Distance<D>>

next

public D next()
Specified by:
next in interface Iterator<D extends Distance<D>>

remove

public void remove()
Specified by:
remove in interface Iterator<D extends Distance<D>>

Release 0.4.0 (2011-09-20_1324)