com.sun.jersey.core.util
Class StringKeyIgnoreCaseMultivaluedMap<V>
java.lang.Object
java.util.AbstractMap<K,V>
com.sun.jersey.core.util.KeyComparatorHashMap<K,V>
com.sun.jersey.core.util.KeyComparatorLinkedHashMap<String,List<V>>
com.sun.jersey.core.util.StringKeyIgnoreCaseMultivaluedMap<V>
- Type Parameters:
V
- the type of values.
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,List<V>>, javax.ws.rs.core.MultivaluedMap<String,V>
- Direct Known Subclasses:
- StringKeyObjectValueIgnoreCaseMultivaluedMap, StringKeyStringValueIgnoreCaseMultivaluedMap
public class StringKeyIgnoreCaseMultivaluedMap<V>
- extends KeyComparatorLinkedHashMap<String,List<V>>
- implements javax.ws.rs.core.MultivaluedMap<String,V>
An implementation of MultivaluedMap
where keys are instances of
String and are compared ignoring case.
- Author:
- Paul.Sandoz@Sun.Com
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
StringKeyIgnoreCaseMultivaluedMap
public StringKeyIgnoreCaseMultivaluedMap()
StringKeyIgnoreCaseMultivaluedMap
public StringKeyIgnoreCaseMultivaluedMap(StringKeyIgnoreCaseMultivaluedMap<V> that)
putSingle
public void putSingle(String key,
V value)
- Specified by:
putSingle
in interface javax.ws.rs.core.MultivaluedMap<String,V>
add
public void add(String key,
V value)
- Specified by:
add
in interface javax.ws.rs.core.MultivaluedMap<String,V>
getFirst
public V getFirst(String key)
- Specified by:
getFirst
in interface javax.ws.rs.core.MultivaluedMap<String,V>
getList
protected List<V> getList(String key)
Copyright © 2011 Oracle Corporation. All Rights Reserved.