com.sun.jersey.core.util
Class StringKeyObjectValueIgnoreCaseMultivaluedMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by com.sun.jersey.core.util.KeyComparatorHashMap<K,V>
          extended by com.sun.jersey.core.util.KeyComparatorLinkedHashMap<java.lang.String,java.util.List<V>>
              extended by com.sun.jersey.core.util.StringKeyIgnoreCaseMultivaluedMap<java.lang.Object>
                  extended by com.sun.jersey.core.util.StringKeyObjectValueIgnoreCaseMultivaluedMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.util.List<java.lang.Object>>, MultivaluedMap<java.lang.String,java.lang.Object>
Direct Known Subclasses:
OutBoundHeaders

public class StringKeyObjectValueIgnoreCaseMultivaluedMap
extends StringKeyIgnoreCaseMultivaluedMap<java.lang.Object>

An implementation of MultivaluedMap where keys are instances of String and are compared ignoring case and values are instances of Object.

Author:
[email protected]
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
StringKeyObjectValueIgnoreCaseMultivaluedMap()
           
StringKeyObjectValueIgnoreCaseMultivaluedMap(StringKeyObjectValueIgnoreCaseMultivaluedMap that)
           
 
Method Summary
<A> java.util.List<A>
get(java.lang.String key, java.lang.Class<A> type)
           
<A> A
getFirst(java.lang.String key, A defaultValue)
           
<A> A
getFirst(java.lang.String key, java.lang.Class<A> type)
           
 
Methods inherited from class com.sun.jersey.core.util.StringKeyIgnoreCaseMultivaluedMap
add, getFirst, getList, putSingle
 
Methods inherited from class com.sun.jersey.core.util.KeyComparatorLinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class com.sun.jersey.core.util.KeyComparatorHashMap
clone, containsKey, entrySet, getDEFAULT_INITIAL_CAPACITY, getModCount, isEmpty, put, putAll, remove, size
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, keySet, toString, values
 
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, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

StringKeyObjectValueIgnoreCaseMultivaluedMap

public StringKeyObjectValueIgnoreCaseMultivaluedMap()

StringKeyObjectValueIgnoreCaseMultivaluedMap

public StringKeyObjectValueIgnoreCaseMultivaluedMap(StringKeyObjectValueIgnoreCaseMultivaluedMap that)
Method Detail

get

public <A> java.util.List<A> get(java.lang.String key,
                                 java.lang.Class<A> type)

getFirst

public <A> A getFirst(java.lang.String key,
                      java.lang.Class<A> type)

getFirst

public <A> A getFirst(java.lang.String key,
                      A defaultValue)


Copyright © 2011 Oracle Corporation. All Rights Reserved.