public interface WritableDoubleDataStore extends DoubleDataStore, WritableDataStore<Double>
Modifier and Type | Method and Description |
---|---|
void |
clear()
Reinitialize (reset to default value).
|
void |
increment(DBIDRef id,
double value)
Increment the specified value with the specified id in this storage.
|
double |
put(DBIDRef id,
double value)
Associates the specified value with the specified id in this storage.
|
Double |
put(DBIDRef id,
Double value)
Deprecated.
Use
putDouble(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, double) instead, to avoid boxing/unboxing cost. |
double |
putDouble(DBIDRef id,
double value)
Associates the specified value with the specified id in this storage.
|
doubleValue, get
delete, destroy
getLongName, getShortName
@Deprecated Double put(DBIDRef id, Double value)
putDouble(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, double)
instead, to avoid boxing/unboxing cost.put
in interface WritableDataStore<Double>
id
- Database ID.value
- Value to store.double putDouble(DBIDRef id, double value)
id
- Database ID.value
- Value to store.double put(DBIDRef id, double value)
id
- Database ID.value
- Value to store.void increment(DBIDRef id, double value)
id
- Database ID.value
- Value to add to the previous value.void clear()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.