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 DoubleIntegerDBIDListIter
iter()
Get a DBID iterator (a more efficient API).default DoubleIntegerDBIDList
slice(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:DoubleDBIDList
Get a subset list.- Specified by:
slice
in interfaceDoubleDBIDList
- Parameters:
begin
- Beginend
- End- Returns:
- Sublist
-
iter
DoubleIntegerDBIDListIter iter()
Description copied from interface:DBIDs
Get 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:
iter
in interfaceDBIDs
- Specified by:
iter
in interfaceDoubleDBIDList
- Specified by:
iter
in interfaceIntegerDBIDs
- Returns:
- iterator
-
-