public class AppMap extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AppMap() |
AppMap(int initialCapacity)
Constructs an empty HashMap with the default initial capacity (16) and the default load factor (0.75).
|
AppMap(int initialCapacity,
float loadFactor)
Constructs an empty HashMap with the specified initial capacity and the default load factor (0.75).
|
AppMap(Map m)
Constructs an empty HashMap with the specified initial capacity and load factor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
protected Object |
convertKey(Object key) |
static Map |
createInstance() |
static Object |
get(Map map,
Object key) |
Object |
get(Object key) |
Object |
put(Object key,
Object object) |
void |
putAll(Map m)
Note up to jdk 8 putAll(m) called the put(...) method below similar to the implementation below.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public AppMap()
public AppMap(int initialCapacity)
public AppMap(int initialCapacity, float loadFactor)
public AppMap(Map m)
public void putAll(Map m)
public boolean containsKey(Object key)
containsKey
in interface Map
containsKey
in class HashMap
public static Object get(Map map, Object key) throws AppBaseException
AppBaseException
public static Map createInstance()
Copyright © 2015. All rights reserved.