com.atlassian.jira.util.collect
Class MultiMaps
java.lang.Object
com.atlassian.jira.util.collect.MultiMaps
public class MultiMaps
- extends Object
Static factory methods for creating and manipulating multi-maps
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiMaps
public MultiMaps()
create
public static <K,V,C extends Collection<V>> MultiMap<K,V,C> create(Map<K,C> basedOn,
Supplier<C> collectionFactory)
create
public static <K,V,C extends Collection<V>> MultiMap<K,V,C> create(Supplier<C> collectionFactory)
createListMultiMap
public static <K,V> MultiMap<K,V,List<V>> createListMultiMap()
createSetMultiMap
public static <K,V> MultiMap<K,V,Set<V>> createSetMultiMap()
unmodifiableListMultiMap
public static <K,V> MultiMap<K,V,List<V>> unmodifiableListMultiMap(MultiMap<K,V,List<V>> multiMap)
unmodifiableSetMultiMap
public static <K,V> MultiMap<K,V,Set<V>> unmodifiableSetMultiMap(MultiMap<K,V,Set<V>> multiMap)
Copyright © 2002-2012 Atlassian. All Rights Reserved.