Modifier and Type | Field and Description |
---|---|
(package private) DistanceResultPair<?> |
cur
Current result
|
(package private) Iterator<? extends DistanceResultPair<?>> |
itr
The real iterator.
|
Modifier | Constructor and Description |
---|---|
protected |
KNNUtil.DBIDItr(Iterator<? extends DistanceResultPair<?>> itr)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
advance()
Moves the iterator forward to the next entry.
|
DBID |
getDBID()
Get the current DBID.
|
int |
getIntegerID()
Return the integer value of the object ID, if possible.
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
DistanceResultPair<?> cur
Iterator<? extends DistanceResultPair<?>> itr
protected KNNUtil.DBIDItr(Iterator<? extends DistanceResultPair<?>> itr)
public boolean valid()
DBIDIter
public void advance()
DBIDIter
public int getIntegerID()
DBIDIter
getIntegerID
in interface DBIDIter