public class DenseIntMapImpl<E> extends java.lang.Object implements IntMap<E>
Constructor and Description |
---|
DenseIntMapImpl() |
Modifier and Type | Method and Description |
---|---|
E |
get(int key)
If key >= 0, return the value bound to key, or null if none.
|
void |
set(int key,
E value)
If key >= 0, bind value to the key.
|
public E get(int key)