Package com.atlassian.jira.util.collect
Class MultiMaps
java.lang.Object
com.atlassian.jira.util.collect.MultiMaps
Static factory methods for creating and manipulating
multi-maps
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V, C extends Collection<V>>
MultiMap<K,V, C> static <K,
V, C extends Collection<V>>
MultiMap<K,V, C> unmodifiableListMultiMap
(MultiMap<K, V, List<V>> multiMap) unmodifiableSetMultiMap
(MultiMap<K, V, Set<V>> multiMap)
-
Constructor Details
-
MultiMaps
public MultiMaps()
-
-
Method Details
-
create
public static <K,V, MultiMap<K,C extends Collection<V>> V, createC> (Map<K, C> basedOn, Supplier<C> collectionFactory) -
create
-
createListMultiMap
-
createSetMultiMap
-
unmodifiableListMultiMap
-
unmodifiableSetMultiMap
-