Package elki.database.datastore
Interface IntegerDataStore
-
- All Superinterfaces:
DataStore<java.lang.Integer>
- All Known Subinterfaces:
WritableIntegerDataStore
- All Known Implementing Classes:
ArrayIntegerStore
,MapIntegerDBIDIntegerStore
public interface IntegerDataStore extends DataStore<java.lang.Integer>
Integer-valued data store (avoids boxing/unboxing).- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Integer
get(DBIDRef id)
Deprecated.UseintValue(elki.database.ids.DBIDRef)
instead, to avoid boxing/unboxing cost.int
intValue(DBIDRef id)
Retrieves a value from the storage.
-
-
-
Method Detail
-
get
@Deprecated java.lang.Integer get(DBIDRef id)
Deprecated.UseintValue(elki.database.ids.DBIDRef)
instead, to avoid boxing/unboxing cost.Getter, but using objects.
-
intValue
int intValue(DBIDRef id)
Retrieves a value from the storage.- Parameters:
id
- Database ID.- Returns:
- Double value
-
-