com.liferay.faces.bridge.context.map
Class CaseInsensitiveHashMap<V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,V>
          extended by com.liferay.faces.bridge.context.map.CaseInsensitiveHashMap<V>
All Implemented Interfaces:
Serializable, Cloneable, Map<String,V>
Direct Known Subclasses:
RequestHeaderMap, RequestHeaderValuesMapCompat

public class CaseInsensitiveHashMap<V>
extends HashMap<String,V>

Author:
Neil Griffin
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
CaseInsensitiveHashMap()
           
 
Method Summary
 boolean containsKey(Object key)
           
 V get(Object key)
           
protected  String getLowerCaseKey(Object key)
           
 V put(String key, V value)
           
 
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
 

Constructor Detail

CaseInsensitiveHashMap

public CaseInsensitiveHashMap()
Method Detail

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<String,V>
Overrides:
containsKey in class HashMap<String,V>

get

public V get(Object key)
Specified by:
get in interface Map<String,V>
Overrides:
get in class HashMap<String,V>

put

public V put(String key,
             V value)
Specified by:
put in interface Map<String,V>
Overrides:
put in class HashMap<String,V>

getLowerCaseKey

protected String getLowerCaseKey(Object key)


Copyright © 2014 Liferay, Inc.. All Rights Reserved.