public interface WritableDoubleDataStore extends DoubleDataStore, WritableDataStore<java.lang.Double>
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.Double |
put(DBIDRef id,
java.lang.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
clear, delete, destroy
@Deprecated java.lang.Double put(DBIDRef id, java.lang.Double value)
putDouble(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, double)
instead, to avoid boxing/unboxing cost.put
in interface WritableDataStore<java.lang.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.Copyright © 2019 ELKI Development Team. License information.