Package elki.database.ids
Interface DoubleDBIDListIter
-
- All Superinterfaces:
ArrayIter,DBIDArrayIter,DBIDIter,DBIDRef,DoubleDBIDIter,Iter
- All Known Subinterfaces:
DoubleDBIDListMIter,DoubleIntegerDBIDListIter,DoubleIntegerDBIDListMIter
- All Known Implementing Classes:
DoubleIntegerDBIDArrayList.Itr,DoubleIntegerDBIDSubList.Itr,IntegerDBIDKNNSubList.Itr
public interface DoubleDBIDListIter extends DoubleDBIDIter, DBIDArrayIter
Iterator over Double+DBID pairs results.There is no getter for the DBID, as this implements
DBIDRef.- Since:
- 0.5.5
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static DoubleDBIDListIterEMPTYStatic empty iterator.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DoubleDBIDListIteradvance()Moves the iterator forward to the next entry.DoubleDBIDListIteradvance(int count)Moves the iterator forward or backward by the given offset.DoubleDBIDListIterretract()Moves the iterator backward to the previous entry.DoubleDBIDListIterseek(int off)Moves the iterator to the given position-
Methods inherited from interface elki.database.ids.DBIDRef
equals, hashCode, internalGetIndex
-
Methods inherited from interface elki.database.ids.DoubleDBIDIter
doubleValue
-
-
-
-
Field Detail
-
EMPTY
static final DoubleDBIDListIter EMPTY
Static empty iterator.
-
-
Method Detail
-
advance
DoubleDBIDListIter advance()
Description copied from interface:IterMoves the iterator forward to the next entry.- Specified by:
advancein interfaceArrayIter- Specified by:
advancein interfaceDBIDArrayIter- Specified by:
advancein interfaceDBIDIter- Specified by:
advancein interfaceDoubleDBIDIter- Specified by:
advancein interfaceIter- Returns:
- The iterator itself.
-
advance
DoubleDBIDListIter advance(int count)
Description copied from interface:ArrayIterMoves the iterator forward or backward by the given offset.- Specified by:
advancein interfaceArrayIter- Specified by:
advancein interfaceDBIDArrayIter- Parameters:
count- offset to move forward or backwards- Returns:
- Iterator
-
retract
DoubleDBIDListIter retract()
Description copied from interface:ArrayIterMoves the iterator backward to the previous entry.- Specified by:
retractin interfaceArrayIter- Specified by:
retractin interfaceDBIDArrayIter- Returns:
- Iterator
-
seek
DoubleDBIDListIter seek(int off)
Description copied from interface:ArrayIterMoves the iterator to the given position- Specified by:
seekin interfaceArrayIter- Specified by:
seekin interfaceDBIDArrayIter- Parameters:
off- Seek offset- Returns:
- Iterator
-
-