private class DoubleIntegerDBIDSubList.Itr extends java.lang.Object implements DoubleIntegerDBIDListIter
| Modifier and Type | Field and Description |
|---|---|
private DoubleIntegerDBIDListIter |
it
Current position.
|
| Modifier | Constructor and Description |
|---|---|
private |
Itr() |
| Modifier and Type | Method and Description |
|---|---|
DoubleIntegerDBIDSubList.Itr |
advance()
Moves the iterator forward to the next entry.
|
DoubleIntegerDBIDSubList.Itr |
advance(int count)
Moves the iterator forward or backward by the given offset.
|
double |
doubleValue()
Get the double value
|
int |
getOffset()
Get current iterator offset.
|
int |
internalGetIndex()
Internal only: Get the internal index.
|
DoubleIntegerDBIDSubList.Itr |
retract()
Moves the iterator backward to the previous entry.
|
DoubleIntegerDBIDSubList.Itr |
seek(int off)
Moves the iterator to the given position
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
private DoubleIntegerDBIDListIter it
public boolean valid()
Iterpublic DoubleIntegerDBIDSubList.Itr advance()
Iteradvance in interface DBIDArrayIteradvance in interface DBIDIteradvance in interface DoubleDBIDListIteradvance in interface DoubleIntegerDBIDListIteradvance in interface ArrayIteradvance in interface Iterpublic double doubleValue()
DoubleDBIDListIterdoubleValue in interface DoubleDBIDListIterpublic int internalGetIndex()
DBIDRefNOT FOR PUBLIC USE - ELKI Optimization engine only.
internalGetIndex in interface DBIDRefinternalGetIndex in interface IntegerDBIDRefpublic int getOffset()
ArrayIterpublic DoubleIntegerDBIDSubList.Itr advance(int count)
ArrayIteradvance in interface DBIDArrayIteradvance in interface DoubleDBIDListIteradvance in interface DoubleIntegerDBIDListIteradvance in interface ArrayItercount - offset to move forward or backwardspublic DoubleIntegerDBIDSubList.Itr retract()
ArrayIterretract in interface DBIDArrayIterretract in interface DoubleDBIDListIterretract in interface DoubleIntegerDBIDListIterretract in interface ArrayIterpublic DoubleIntegerDBIDSubList.Itr seek(int off)
ArrayIterseek in interface DBIDArrayIterseek in interface DoubleDBIDListIterseek in interface DoubleIntegerDBIDListIterseek in interface ArrayIteroff - Seek offsetCopyright © 2019 ELKI Development Team. License information.