ints.
| Modifier and Type | Field and Description |
|---|---|
| private final HashMap | map
underlying map. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void |
| map | back to summary |
|---|---|
| private final HashMap<Integer, Integer> map underlying map. Todo This might be too inefficient. | |
| AddressMap | back to summary |
|---|---|
| public AddressMap() Constructs an instance. | |
| get | back to summary |
|---|---|
| public int get(int keyAddress) Gets the value address corresponding to the given key address. Returns
| |
| put | back to summary |
|---|---|
| public void put(int keyAddress, int valueAddress) Sets the value address associated with the given key address. | |