
private class ArrayModifiableIntegerDBIDs.Itr extends Object implements IntegerDBIDArrayMIter
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
pos
Iterator position.
|
| Modifier | Constructor and Description |
|---|---|
private |
ArrayModifiableIntegerDBIDs.Itr() |
| Modifier and Type | Method and Description |
|---|---|
ArrayModifiableIntegerDBIDs.Itr |
advance()
Moves the iterator forward to the next entry.
|
ArrayModifiableIntegerDBIDs.Itr |
advance(int count)
Moves the iterator forward or backward by the given offset.
|
int |
getOffset()
Get current iterator offset.
|
int |
internalGetIndex()
Return the integer value of the object ID.
|
void |
remove()
Remove the object the iterator currently points to.
|
ArrayModifiableIntegerDBIDs.Itr |
retract()
Moves the iterator backward to the previous entry.
|
ArrayModifiableIntegerDBIDs.Itr |
seek(int off)
Moves the iterator to the given position
|
String |
toString() |
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
public int internalGetIndex()
IntegerDBIDRefinternalGetIndex in interface DBIDRefinternalGetIndex in interface IntegerDBIDRefpublic boolean valid()
Iterpublic ArrayModifiableIntegerDBIDs.Itr advance()
Iterpublic int getOffset()
ArrayIterpublic ArrayModifiableIntegerDBIDs.Itr advance(int count)
ArrayIteradvance in interface DBIDArrayIteradvance in interface ArrayItercount - offset to move forward or backwardspublic ArrayModifiableIntegerDBIDs.Itr retract()
ArrayIterretract in interface DBIDArrayIterretract in interface ArrayIterpublic ArrayModifiableIntegerDBIDs.Itr seek(int off)
ArrayIterseek in interface DBIDArrayIterseek in interface ArrayIteroff - Seek offsetpublic 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.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.