public interface WritableIntegerDataStore extends IntegerDataStore, WritableDataStore<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.
|
Integer |
put(DBIDRef id,
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
delete, destroy
getLongName, getShortName
@Deprecated Integer put(DBIDRef id, Integer value)
putInt(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, int)
instead, to avoid boxing/unboxing cost.put
in interface WritableDataStore<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 © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.