public class Int2IntHash extends Object
Modifier and Type | Class and Description |
---|---|
private class |
Int2IntHash.Entry |
Modifier and Type | Field and Description |
---|---|
(package private) Int2IntHash.Entry[] |
entries |
(package private) int |
entryCount |
Constructor and Description |
---|
Int2IntHash(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
int |
get(int key) |
void |
put(int key,
int value) |
private void |
rehash() |
int entryCount
Int2IntHash.Entry[] entries