public class SparseIntVector extends Object implements IntVector, Serializable
This should only be used for small sets ... insertion and deletion are linear in size of set.
| Constructor and Description |
|---|
SparseIntVector(int defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
get(int x) |
int |
getMaxIndex() |
void |
performVerboseAction() |
void |
set(int x,
int value) |
public void performVerboseAction()
VerboseAction.performVerboseAction()public int getMaxIndex()
getMaxIndex in interface IntVector