public class SparseObjVector<E>
extends java.lang.Object
Constructor and Description |
---|
SparseObjVector()
Creates a SimplePool that holds about 716 elements before first
rehash.
|
SparseObjVector(int pow)
Creates a SimplePool that holds about 0.7 * 2**pow elements before
first rehash.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
E |
get(int idx) |
static void |
main(java.lang.String[] args) |
protected int |
mix(int x) |
protected void |
newTable() |
void |
remove(int idx) |
void |
set(int idx,
E e) |