
private class ArrayStaticIntegerDBIDs.Slice.SliceItr extends Object implements IntegerDBIDArrayIter
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
pos
Iterator position.
|
| Modifier | Constructor and Description |
|---|---|
private |
ArrayStaticIntegerDBIDs.Slice.SliceItr() |
| Modifier and Type | Method and Description |
|---|---|
ArrayStaticIntegerDBIDs.Slice.SliceItr |
advance()
Moves the iterator forward to the next entry.
|
ArrayStaticIntegerDBIDs.Slice.SliceItr |
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.
|
ArrayStaticIntegerDBIDs.Slice.SliceItr |
retract()
Moves the iterator backward to the previous entry.
|
ArrayStaticIntegerDBIDs.Slice.SliceItr |
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.
|
private ArrayStaticIntegerDBIDs.Slice.SliceItr()
public int internalGetIndex()
IntegerDBIDRefinternalGetIndex in interface DBIDRefinternalGetIndex in interface IntegerDBIDRefpublic boolean valid()
Iterpublic ArrayStaticIntegerDBIDs.Slice.SliceItr advance()
Iterpublic int getOffset()
ArrayIterpublic ArrayStaticIntegerDBIDs.Slice.SliceItr advance(int count)
ArrayIteradvance in interface DBIDArrayIteradvance in interface ArrayItercount - offset to move forward or backwardspublic ArrayStaticIntegerDBIDs.Slice.SliceItr retract()
ArrayIterretract in interface DBIDArrayIterretract in interface ArrayIterpublic ArrayStaticIntegerDBIDs.Slice.SliceItr 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.