Package elki.database.ids.integer
Interface DoubleIntegerDBIDListIter
-
- All Superinterfaces:
ArrayIter
,DBIDArrayIter
,DBIDIter
,DBIDRef
,DoubleDBIDIter
,DoubleDBIDListIter
,IntegerDBIDIter
,IntegerDBIDRef
,Iter
- All Known Subinterfaces:
DoubleIntegerDBIDListMIter
- All Known Implementing Classes:
DoubleIntegerDBIDArrayList.Itr
,DoubleIntegerDBIDSubList.Itr
,IntegerDBIDKNNSubList.Itr
public interface DoubleIntegerDBIDListIter extends DoubleDBIDListIter, IntegerDBIDIter
Combination interface of the DoubleDBIDListIter with IntegerDBIDIter.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from interface elki.database.ids.DoubleDBIDListIter
EMPTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DoubleIntegerDBIDListIter
advance()
Moves the iterator forward to the next entry.DoubleIntegerDBIDListIter
advance(int count)
Moves the iterator forward or backward by the given offset.DoubleIntegerDBIDListIter
retract()
Moves the iterator backward to the previous entry.DoubleIntegerDBIDListIter
seek(int off)
Moves the iterator to the given position-
Methods inherited from interface elki.database.ids.DoubleDBIDIter
doubleValue
-
Methods inherited from interface elki.database.ids.integer.IntegerDBIDRef
internalGetIndex
-
-
-
-
Method Detail
-
advance
DoubleIntegerDBIDListIter advance()
Description copied from interface:Iter
Moves the iterator forward to the next entry.- Specified by:
advance
in interfaceArrayIter
- Specified by:
advance
in interfaceDBIDArrayIter
- Specified by:
advance
in interfaceDBIDIter
- Specified by:
advance
in interfaceDoubleDBIDIter
- Specified by:
advance
in interfaceDoubleDBIDListIter
- Specified by:
advance
in interfaceIter
- Returns:
- The iterator itself.
-
advance
DoubleIntegerDBIDListIter advance(int count)
Description copied from interface:ArrayIter
Moves the iterator forward or backward by the given offset.- Specified by:
advance
in interfaceArrayIter
- Specified by:
advance
in interfaceDBIDArrayIter
- Specified by:
advance
in interfaceDoubleDBIDListIter
- Parameters:
count
- offset to move forward or backwards- Returns:
- Iterator
-
retract
DoubleIntegerDBIDListIter retract()
Description copied from interface:ArrayIter
Moves the iterator backward to the previous entry.- Specified by:
retract
in interfaceArrayIter
- Specified by:
retract
in interfaceDBIDArrayIter
- Specified by:
retract
in interfaceDoubleDBIDListIter
- Returns:
- Iterator
-
seek
DoubleIntegerDBIDListIter seek(int off)
Description copied from interface:ArrayIter
Moves the iterator to the given position- Specified by:
seek
in interfaceArrayIter
- Specified by:
seek
in interfaceDBIDArrayIter
- Specified by:
seek
in interfaceDoubleDBIDListIter
- Parameters:
off
- Seek offset- Returns:
- Iterator
-
-