Serializable
, Cloneable
, Map<K,V>
public class OrderedHashMap<K,V> extends LinkedHashMap<K,V>
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
Modifier and Type | Field | Description |
---|---|---|
protected List<K> |
elements |
Track the elements as they are added to the set
|
Constructor | Description |
---|---|
OrderedHashMap() |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
|
V |
getElement(int i) |
|
K |
getKey(int i) |
|
V |
put(K key,
V value) |
|
void |
putAll(Map<? extends K,? extends V> m) |
|
V |
remove(Object key) |
equals, hashCode, toString
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, replace, replace, size
containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putIfAbsent, remove, replace, replace, size
Copyright © 1992–2018 ANTLR. All rights reserved.