|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap<K,V> java.util.LinkedHashMap<String,T> com.esri.gpt.framework.collection.CaseInsensitiveMap<T>
public class CaseInsensitiveMap<T>
Maintains an ordered map where are all map keys are stored as lower case strings.
The primary intent is to provide a map having case insensitive keys.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Constructor Summary | |
---|---|
CaseInsensitiveMap(boolean allowEmptyKey)
Construct with a flag indicating if an empty map key is allowed. |
Method Summary | |
---|---|
boolean |
containsKey(Object key)
Determines if a key is contained within the map. |
T |
get(Object key)
Gets the value associated with a key. |
protected boolean |
getAllowEmptyKey()
Gets the status indicating whether an empty key is allowed. |
T |
put(String key,
T member)
Sets a value within the map. |
String |
toString()
Returns the string representation of the object. |
Methods inherited from class java.util.LinkedHashMap |
---|
clear, containsValue, removeEldestEntry |
Methods inherited from class java.util.HashMap |
---|
clone, entrySet, isEmpty, keySet, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
entrySet, equals, hashCode, isEmpty, keySet, putAll, remove, size, values |
Constructor Detail |
---|
public CaseInsensitiveMap(boolean allowEmptyKey)
allowEmptyKey
- true if an empty key is allowedMethod Detail |
---|
protected boolean getAllowEmptyKey()
public boolean containsKey(Object key)
containsKey
in interface Map<String,T>
containsKey
in class HashMap<String,T>
key
- the key to check
public T get(Object key)
get
in interface Map<String,T>
get
in class LinkedHashMap<String,T>
key
- the key associated with the value to find
public T put(String key, T member)
put
in interface Map<String,T>
put
in class HashMap<String,T>
key
- the key to setmember
- the value to set
public String toString()
toString
in class AbstractMap<String,T>
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |