
private class ArrayModifiableIntegerDBIDs.Slice.SliceItr extends Object implements IntegerDBIDArrayIter
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
pos
Iterator position.
|
| Modifier | Constructor and Description |
|---|---|
private |
ArrayModifiableIntegerDBIDs.Slice.SliceItr() |
| Modifier and Type | Method and Description |
|---|---|
void |
advance()
Moves the iterator forward to the next entry.
|
void |
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 |
retract()
Moves the iterator backward to the previous entry.
|
void |
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 ArrayModifiableIntegerDBIDs.Slice.SliceItr()
public int internalGetIndex()
IntegerDBIDRefinternalGetIndex in interface DBIDRefinternalGetIndex in interface IntegerDBIDRefpublic boolean valid()
Iterpublic void advance()
Iterpublic int getOffset()
ArrayIterpublic void advance(int count)
ArrayIterpublic void retract()
ArrayIterpublic void seek(int off)
ArrayIter