Package elki.database.ids
Interface DBIDArrayIter
-
- All Known Subinterfaces:
DBIDArrayMIter,DoubleDBIDListIter,DoubleDBIDListMIter,DoubleIntegerDBIDListIter,DoubleIntegerDBIDListMIter,IntegerDBIDArrayIter,IntegerDBIDArrayMIter
- All Known Implementing Classes:
ArrayModifiableIntegerDBIDs.Itr,ArrayModifiableIntegerDBIDs.Slice.SliceItr,ArrayStaticIntegerDBIDs.Itr,ArrayStaticIntegerDBIDs.Slice.SliceItr,DoubleIntegerDBIDArrayList.Itr,DoubleIntegerDBIDSubList.Itr,EmptyDBIDs.EmptyDBIDIterator,IntegerDBID.Itr,IntegerDBIDKNNSubList.Itr,IntegerDBIDPair.Itr,IntegerDBIDPair.Slice.SliceItr,IntegerDBIDRange.Itr,IntegerDBIDVar.Itr,UnmodifiableIntegerArrayDBIDs.Itr
public interface DBIDArrayIter extends DBIDIter, ArrayIter
Array iterators that can also go backwards and seek.- Since:
- 0.5.5
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DBIDArrayIteradvance()Moves the iterator forward to the next entry.DBIDArrayIteradvance(int count)Moves the iterator forward or backward by the given offset.DBIDArrayIterretract()Moves the iterator backward to the previous entry.DBIDArrayIterseek(int off)Moves the iterator to the given position-
Methods inherited from interface elki.database.ids.DBIDRef
equals, hashCode, internalGetIndex
-
-
-
-
Method Detail
-
advance
DBIDArrayIter advance()
Description copied from interface:IterMoves the iterator forward to the next entry.
-
advance
DBIDArrayIter advance(int count)
Description copied from interface:ArrayIterMoves the iterator forward or backward by the given offset.
-
retract
DBIDArrayIter retract()
Description copied from interface:ArrayIterMoves the iterator backward to the previous entry.
-
seek
DBIDArrayIter seek(int off)
Description copied from interface:ArrayIterMoves the iterator to the given position
-
-