com.atlassian.jira.external.beans
Class SetMultiHashMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.apache.commons.collections.MultiHashMap
              extended by com.atlassian.jira.external.beans.SetMultiHashMap
All Implemented Interfaces:
Serializable, Cloneable, Map, org.apache.commons.collections.MultiMap

public class SetMultiHashMap
extends org.apache.commons.collections.MultiHashMap

A MultiHashMap implementation backed by a HashSet. It also quietly rejects Empty Values strings

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
SetMultiHashMap()
           
 
Method Summary
protected  Collection createCollection(Collection coll)
           
 Object put(Object key, Object value)
           
 
Methods inherited from class org.apache.commons.collections.MultiHashMap
clear, clone, containsValue, containsValue, getCollection, iterator, putAll, putAll, remove, size, totalSize, values
 
Methods inherited from class java.util.HashMap
containsKey, entrySet, get, isEmpty, keySet, remove, size
 
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 org.apache.commons.collections.MultiMap
get, remove, size
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet
 

Constructor Detail

SetMultiHashMap

public SetMultiHashMap()
Method Detail

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map
Specified by:
put in interface org.apache.commons.collections.MultiMap
Overrides:
put in class org.apache.commons.collections.MultiHashMap

createCollection

protected Collection createCollection(Collection coll)
Overrides:
createCollection in class org.apache.commons.collections.MultiHashMap


Copyright © 2002-2012 Atlassian. All Rights Reserved.