
protected static class EmptyDBIDs.EmptyDBIDIterator extends Object implements DBIDArrayMIter
| Modifier | Constructor and Description |
|---|---|
protected |
EmptyDBIDs.EmptyDBIDIterator() |
| Modifier and Type | Method and Description |
|---|---|
EmptyDBIDs.EmptyDBIDIterator |
advance()
Moves the iterator forward to the next entry.
|
EmptyDBIDs.EmptyDBIDIterator |
advance(int count)
Moves the iterator forward or backward by the given offset.
|
boolean |
equals(Object other)
WARNING: calling equality on a reference may be an indicator of incorrect
usage, as it is not clear whether the programmer meant the references to be
the same or the DBIDs.
|
int |
getOffset()
Get current iterator offset.
|
int |
internalGetIndex()
Get the internal index.
|
void |
remove()
Remove the object the iterator currently points to.
|
EmptyDBIDs.EmptyDBIDIterator |
retract()
Moves the iterator backward to the previous entry.
|
EmptyDBIDs.EmptyDBIDIterator |
seek(int off)
Moves the iterator to the given position
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
public boolean valid()
Iterpublic EmptyDBIDs.EmptyDBIDIterator advance()
Iterpublic int internalGetIndex()
DBIDRefinternalGetIndex in interface DBIDRefpublic boolean equals(Object other)
DBIDRefDBIDUtil.equal(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, de.lmu.ifi.dbs.elki.database.ids.DBIDRef) or DBIDUtil.compare(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, de.lmu.ifi.dbs.elki.database.ids.DBIDRef)!public void remove()
DBIDMIterDBIDUtil.deref(de.lmu.ifi.dbs.elki.database.ids.DBIDRef) may return a different
element. Call DBIDIter.advance() to advance the iterator to the next
element for further processing.public EmptyDBIDs.EmptyDBIDIterator advance(int count)
ArrayIteradvance in interface DBIDArrayIteradvance in interface ArrayItercount - offset to move forward or backwardspublic EmptyDBIDs.EmptyDBIDIterator retract()
ArrayIterretract in interface DBIDArrayIterretract in interface ArrayIterpublic EmptyDBIDs.EmptyDBIDIterator seek(int off)
ArrayIterseek in interface DBIDArrayIterseek in interface ArrayIteroff - Seek offsetCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.