com.jamonapi.utils
Class AppMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
com.jamonapi.utils.AppMap
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map
public class AppMap
- extends java.util.HashMap
- See Also:
- Serialized Form
Constructor Summary |
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(java.util.Map m)
Constructs an empty HashMap with the specified initial capacity and load factor. |
Method Summary |
boolean |
containsKey(java.lang.Object key)
|
protected java.lang.Object |
convertKey(java.lang.Object key)
|
static java.util.Map |
createInstance()
|
static java.lang.Object |
get(java.util.Map map,
java.lang.Object key)
|
java.lang.Object |
get(java.lang.Object key)
|
static void |
main(java.lang.String[] args)
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object object)
|
Methods inherited from class java.util.HashMap |
clear, clone, containsValue, entrySet, isEmpty, keySet, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
AppMap
public AppMap()
AppMap
public AppMap(int initialCapacity)
- Constructs an empty HashMap with the default initial capacity (16) and the default load factor (0.75).
AppMap
public AppMap(int initialCapacity,
float loadFactor)
- Constructs an empty HashMap with the specified initial capacity and the default load factor (0.75).
AppMap
public AppMap(java.util.Map m)
- Constructs an empty HashMap with the specified initial capacity and load factor.
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object object)
- Specified by:
put
in interface java.util.Map
- Overrides:
put
in class java.util.HashMap
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interface java.util.Map
- Overrides:
containsKey
in class java.util.HashMap
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map
- Overrides:
get
in class java.util.HashMap
get
public static java.lang.Object get(java.util.Map map,
java.lang.Object key)
throws AppBaseException
- Throws:
AppBaseException
convertKey
protected java.lang.Object convertKey(java.lang.Object key)
createInstance
public static java.util.Map createInstance()
main
public static void main(java.lang.String[] args)