| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public E | get(int key)
Implements org. If key >= 0, return the value bound to key, or null if none. |
| public void | set(int key, E value)
Implements org. If key >= 0, bind value to the key. |
| list | back to summary |
|---|---|
| private ArrayList<E> list | |
| DenseIntMapImpl | back to summary |
|---|---|
| public DenseIntMapImpl() | |
| checkKey | back to summary |
|---|---|
| private void checkKey(int key) | |
| extend | back to summary |
|---|---|
| private void extend(int index) | |
| get | back to summary |
|---|---|
| public E get(int key) Implements org. If key >= 0, return the value bound to key, or null if none. Throws IllegalArgumentException if key <0. | |
| set | back to summary |
|---|---|
| public void set(int key, E value) Implements org. If key >= 0, bind value to the key. Throws IllegalArgumentException if key <0. | |