This class does not store null keys.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| private void | |
| public V | Returns: the value stored in the entrythe index of the entry index)Implements org. Same as getValueAt(index). |
| public int | |
| public K | Returns: the value stored in the entrythe index of the entry index)Returns the key stored in the entry at index position. |
| public V | Returns: the value stored in the entrythe index of the entry index)Returns the value stored in the entry at index position. |
| public boolean | |
| public V | |
| public void | |
| public boolean | |
| public boolean | |
| public V |
| OrderedHashMap | back to summary |
|---|---|
| public OrderedHashMap() | |
| OrderedHashMap | back to summary |
|---|---|
| public OrderedHashMap(int initialCapacity) throws IllegalArgumentException | |
| add | back to summary |
|---|---|
| public boolean add(K key, V value) | |
| checkRange | back to summary |
|---|---|
| private void checkRange(int i) | |
| get | back to summary |
|---|---|
| public V get(int index) throws IndexOutOfBoundsException Implements org. Same as getValueAt(index).
| |
| getIndex | back to summary |
|---|---|
| public int getIndex(K key) | |
| getKeyAt | back to summary |
|---|---|
| public K getKeyAt(int index) throws IndexOutOfBoundsException Returns the key stored in the entry at index position.
| |
| getValueAt | back to summary |
|---|---|
| public V getValueAt(int index) throws IndexOutOfBoundsException Returns the value stored in the entry at index position.
| |
| insert | back to summary |
|---|---|
| public boolean insert(int index, K key, V value) throws IndexOutOfBoundsException | |
| remove | back to summary |
|---|---|
| public V remove(Object key) Overrides org. Implements org. | |
| removeEntry | back to summary |
|---|---|
| public void removeEntry(int index) throws IndexOutOfBoundsException | |
| set | back to summary |
|---|---|
| public boolean set(int index, K key, V value) throws IndexOutOfBoundsException | |
| setKeyAt | back to summary |
|---|---|
| public boolean setKeyAt(int index, K key) throws IndexOutOfBoundsException | |
| setValueAt | back to summary |
|---|---|
| public V setValueAt(int index, V value) throws IndexOutOfBoundsException | |