org.apache.aries.web.converter.impl
Class CaseInsensitiveMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String>
          extended by org.apache.aries.web.converter.impl.CaseInsensitiveMap
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>

public class CaseInsensitiveMap
extends HashMap<String,String>

Simple key case-insensitive map where only selected set of keys are treated in case-insensitive way.

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
CaseInsensitiveMap()
           
CaseInsensitiveMap(Map<String,String> source)
           
CaseInsensitiveMap(Properties source)
           
 
Method Summary
 boolean containsKey(Object name)
           
 String get(Object name)
           
 String put(String name, String 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

CaseInsensitiveMap

public CaseInsensitiveMap()

CaseInsensitiveMap

public CaseInsensitiveMap(Map<String,String> source)

CaseInsensitiveMap

public CaseInsensitiveMap(Properties source)
Method Detail

put

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

get

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

containsKey

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


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.