public interface WritableIntegerDataStore extends IntegerDataStore, WritableDataStore<java.lang.Integer>
Modifier and Type | Method and Description |
---|---|
void |
increment(DBIDRef id,
int adjust)
Increment a value.
|
int |
put(DBIDRef id,
int value)
Associates the specified value with the specified id in this storage.
|
java.lang.Integer |
put(DBIDRef id,
java.lang.Integer value)
Deprecated.
Use
putInt(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, int) instead, to avoid boxing/unboxing cost. |
int |
putInt(DBIDRef id,
int value)
Associates the specified value with the specified id in this storage.
|
get, intValue
clear, delete, destroy
@Deprecated java.lang.Integer put(DBIDRef id, java.lang.Integer value)
putInt(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, int)
instead, to avoid boxing/unboxing cost.put
in interface WritableDataStore<java.lang.Integer>
id
- Database ID.value
- Value to store.int putInt(DBIDRef id, int value)
id
- Database ID.value
- Value to store.int put(DBIDRef id, int value)
id
- Database ID.value
- Value to store.void increment(DBIDRef id, int adjust)
id
- Database ID.adjust
- Value to add to the previous value.Copyright © 2019 ELKI Development Team. License information.