K
- The key type.V
- The value type.public final class AMap<K,V> extends LinkedHashMap<K,V>
LinkedHashMap
with a convenience append(Object,Object)
method.
Primarily used for testing purposes for quickly creating populated maps.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AMap() |
Modifier and Type | Method and Description |
---|---|
AMap<K,V> |
append(K k,
V v)
Adds an entry to this map.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
Copyright © 2018 Apache. All rights reserved.