Package elki.database.ids.integer
Interface DoubleIntegerDBIDList
-
- All Superinterfaces:
DBIDs,DoubleDBIDList,IntegerDBIDs
- All Known Implementing Classes:
DoubleIntegerDBIDArrayList,DoubleIntegerDBIDKNNList,DoubleIntegerDBIDSubList,IntegerDBIDKNNSubList
interface DoubleIntegerDBIDList extends DoubleDBIDList, IntegerDBIDs
Interface to store double distance, integer DBID results.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface elki.database.ids.DoubleDBIDList
DoubleDBIDList.Consumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DoubleIntegerDBIDListIteriter()Get a DBID iterator (a more efficient API).default DoubleIntegerDBIDListslice(int begin, int end)Get a subset list.-
Methods inherited from interface elki.database.ids.DoubleDBIDList
assignVar, doubleValue, forEachDouble, size
-
-
-
-
Method Detail
-
slice
default DoubleIntegerDBIDList slice(int begin, int end)
Description copied from interface:DoubleDBIDListGet a subset list.- Specified by:
slicein interfaceDoubleDBIDList- Parameters:
begin- Beginend- End- Returns:
- Sublist
-
iter
DoubleIntegerDBIDListIter iter()
Description copied from interface:DBIDsGet a DBID iterator (a more efficient API).Example:
for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) { NumberVector vec = relation.get(iter); // iter is a temporary object reference }- Specified by:
iterin interfaceDBIDs- Specified by:
iterin interfaceDoubleDBIDList- Specified by:
iterin interfaceIntegerDBIDs- Returns:
- iterator
-
-