Package pascal.taie.util.collection
Class Maps
java.lang.Object
pascal.taie.util.collection.Maps
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V> MultiMap<K, V> static <K1,
K2, V> TwoKeyMultiMap<K1, K2, V> static <K,
V> ConcurrentMap<K, V> static <K,
V> ConcurrentMap<K, V> newConcurrentMap
(int initialCapacity) static <K,
V> Map<K, V> static <K,
V> Map<K, V> newHybridMap
(Map<K, V> map) static <K,
V> Map<K, V> static <K,
V> Map<K, V> newMap()
static <K,
V> Map<K, V> newMap
(int initialCapacity) static <K,
V> MultiMap<K, V> static <K,
V> MultiMap<K, V> newMultiMap
(int initialCapacity) static <K,
V> MultiMap<K, V> newMultiMap
(Map<K, Set<V>> map) static <K,
V> MultiMap<K, V> newMultiMap
(Map<K, Set<V>> map, SSupplier<Set<V>> setFactory) static <K,
V> MultiMap<K, V> newMultiMap
(SSupplier<Set<V>> setFactory) static <K extends Comparable<K>,
V>
Map<K,V> static <K,
V> Map<K, V> newOrderedMap
(Comparator<? super K> comparator) static <K,
V> Map<K, V> static <K1,
K2, V> TwoKeyMap<K1, K2, V> static <K1,
K2, V> TwoKeyMap<K1, K2, V> newTwoKeyMap
(Map<K1, Map<K2, V>> map1, SSupplier<Map<K2, V>> map2Factory) static <K1,
K2, V> TwoKeyMultiMap<K1, K2, V> static <K1,
K2, V> TwoKeyMultiMap<K1, K2, V> newTwoKeyMultiMap
(Map<K1, MultiMap<K2, V>> map, SSupplier<MultiMap<K2, V>> multimapFactory) static <K,
V> Map<K, V> ofLinkedHashMap
(K k1, V v1, K k2, V v2) static <K,
V> MultiMap<K, V> unmodifiableMultiMap
(MultiMap<K, V> map) static <K1,
K2, V> TwoKeyMultiMap<K1, K2, V> unmodifiableTwoKeyMultiMap
(TwoKeyMultiMap<K1, K2, V> map)
-
Method Details
-
ofLinkedHashMap
-
newMap
-
newMap
-
newLinkedHashMap
-
newOrderedMap
-
newOrderedMap
-
newSmallMap
-
newHybridMap
-
newHybridMap
-
newConcurrentMap
-
newConcurrentMap
-
newMultiMap
-
newMultiMap
-
newMultiMap
-
newMultiMap
-
newMultiMap
-
unmodifiableMultiMap
-
emptyMultiMap
-
newTwoKeyMap
-
newTwoKeyMap
-
newTwoKeyMultiMap
-
newTwoKeyMultiMap
public static <K1,K2, TwoKeyMultiMap<K1,V> K2, newTwoKeyMultiMapV> (Map<K1, MultiMap<K2, V>> map, SSupplier<MultiMap<K2, V>> multimapFactory) -
unmodifiableTwoKeyMultiMap
public static <K1,K2, TwoKeyMultiMap<K1,V> K2, unmodifiableTwoKeyMultiMapV> (TwoKeyMultiMap<K1, K2, V> map) -
emptyTwoKeyMultiMap
-