eXo WS :: HTTP :: testframework 2.4.0-Alpha2

org.exoplatform.services.test.mock
Class CaseInsensitiveMultivaluedMap<T>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,List<T>>
          extended by org.exoplatform.services.test.mock.CaseInsensitiveMultivaluedMap<T>
All Implemented Interfaces:
Serializable, Cloneable, Map<String,List<T>>

public class CaseInsensitiveMultivaluedMap<T>
extends HashMap<String,List<T>>

Version:
$Id: CaseInsensitiveMap.java 2822 2009-08-27 14:14:41Z andrew00x $
Author:
Andrey Parfonov
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
CaseInsensitiveMultivaluedMap()
           
 
Method Summary
 boolean containsKey(Object key)
          
 List<T> get(Object key)
          
 T getFirst(String key)
           
 List<T> put(String key, List<T> value)
          
 List<T> remove(Object key)
          
 
Methods inherited from class java.util.HashMap
clear, clone, containsValue, entrySet, isEmpty, keySet, putAll, 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

CaseInsensitiveMultivaluedMap

public CaseInsensitiveMultivaluedMap()
Method Detail

containsKey

public boolean containsKey(Object key)

Specified by:
containsKey in interface Map<String,List<T>>
Overrides:
containsKey in class HashMap<String,List<T>>

get

public List<T> get(Object key)

Specified by:
get in interface Map<String,List<T>>
Overrides:
get in class HashMap<String,List<T>>

put

public List<T> put(String key,
                   List<T> value)

Specified by:
put in interface Map<String,List<T>>
Overrides:
put in class HashMap<String,List<T>>

remove

public List<T> remove(Object key)

Specified by:
remove in interface Map<String,List<T>>
Overrides:
remove in class HashMap<String,List<T>>

getFirst

public T getFirst(String key)

eXo WS :: HTTP :: testframework 2.4.0-Alpha2

Copyright © 2013 eXo Platform SAS. All Rights Reserved.