| |
|
| java.lang.Object org.h2.util.HashBase org.h2.util.IntIntHashMap
IntIntHashMap | public class IntIntHashMap extends HashBase (Code) | | A hash map with int key and int values. There is a restriction: the
value -1 (NOT_FOUND) cannot be stored in the map. 0 can be stored.
An empty record has key=0 and value=0.
A deleted record has key=0 and value=DELETED
|
Field Summary | |
final public static int | NOT_FOUND |
Method Summary | |
public int | get(int key) | public void | put(int key, int value) | protected void | rehash(int newLevel) | public void | remove(int key) | protected void | reset(int newLevel) |
NOT_FOUND | final public static int NOT_FOUND(Code) | | |
get | public int get(int key)(Code) | | |
put | public void put(int key, int value)(Code) | | |
rehash | protected void rehash(int newLevel)(Code) | | |
remove | public void remove(int key)(Code) | | |
reset | protected void reset(int newLevel)(Code) | | |
|
|
|