com.jamonapi.utils
Class AppMap
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--com.jamonapi.utils.AppMap
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class AppMap
- extends java.util.HashMap
Case Insensitive HashMap() - If the maps key is a string then the following keys are all considered equal:
myKey
MYKEY
MyKey
...
Other than that this class works like a regular HashMap.
- See Also:
- Serialized Form
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary |
boolean |
containsKey(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)
|
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 |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
AppMap
public AppMap()
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
AppBaseException
createInstance
public static java.util.Map createInstance()