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