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 DBIDArrayIter
advance()
Moves the iterator forward to the next entry.DBIDArrayIter
advance(int count)
Moves the iterator forward or backward by the given offset.DBIDArrayIter
retract()
Moves the iterator backward to the previous entry.DBIDArrayIter
seek(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:Iter
Moves the iterator forward to the next entry.
-
advance
DBIDArrayIter advance(int count)
Description copied from interface:ArrayIter
Moves the iterator forward or backward by the given offset.
-
retract
DBIDArrayIter retract()
Description copied from interface:ArrayIter
Moves the iterator backward to the previous entry.
-
seek
DBIDArrayIter seek(int off)
Description copied from interface:ArrayIter
Moves the iterator to the given position
-
-