de.lmu.ifi.dbs.elki.utilities.datastructures.heap
Class KNNList.DistanceItr<D extends Distance<D>>
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
itr
Iterator<? extends DistanceResultPair<D extends Distance<D>>> itr
- The real iterator.
KNNList.DistanceItr
protected KNNList.DistanceItr(Iterator<? extends DistanceResultPair<D>> itr)
- Constructor.
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>>