| Constructor and Description |
|---|
SparseStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Bin bin)
Updates the counter at the specified index.
|
void |
add(int index)
Increments the counter at the specified index.
|
void |
add(int index,
double count)
Updates the counter at the specified index.
|
Store |
copy() |
java.util.Iterator<Bin> |
getAscendingIterator() |
java.util.Iterator<Bin> |
getDescendingIterator() |
int |
getMaxIndex() |
int |
getMinIndex() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, fromProto, getAscendingStream, getDescendingStream, getStream, getTotalCount, isEmpty, mergeWith, toProtopublic void add(int index)
Storepublic void add(int index,
double count)
Storepublic void add(Bin bin)
Storepublic int getMinIndex()
getMinIndex in interface Storepublic int getMaxIndex()
getMaxIndex in interface Storepublic java.util.Iterator<Bin> getAscendingIterator()
getAscendingIterator in interface Storepublic java.util.Iterator<Bin> getDescendingIterator()
getDescendingIterator in interface Store