org.trialox.jaxrs.util
Class CaseInsensitiveMap<V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,java.util.List<V>>
          extended by org.trialox.jaxrs.util.MultivaluedMapImpl<java.lang.String,V>
              extended by org.trialox.jaxrs.util.CaseInsensitiveMap<V>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.util.List<V>>, javax.ws.rs.core.MultivaluedMap<java.lang.String,V>

public class CaseInsensitiveMap<V>
extends MultivaluedMapImpl<java.lang.String,V>

Author:
reto
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
CaseInsensitiveMap()
           
 
Method Summary
 java.util.List<V> get(java.lang.Object key)
           
 java.util.List<V> put(java.lang.String key, java.util.List<V> value)
           
 
Methods inherited from class org.trialox.jaxrs.util.MultivaluedMapImpl
add, addFirst, get, getFirst, getFirst, getFirst, putSingle
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, 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
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, putAll, remove, size, values
 

Constructor Detail

CaseInsensitiveMap

public CaseInsensitiveMap()
Method Detail

get

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

put

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


Copyright © 2008. All Rights Reserved.