java.lang.Object
com.intellij.util.containers.MultiMap<K,V>
- 所有已实现的接口:
Serializable
Pass custom map using
MultiMap(Map) if needed.- 另请参阅:
-
BidirectionalMultiMap- 序列化表格
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final voidclear()final booleancontainsKey(K key) final booleancontainsScalarValue(V value) copy()static <K,V> @NotNull MultiMap<K, V> create()static <K,V> MultiMap<K, V> create(int initialCapacity, float loadFactor) protected @NotNull Collection<V>static <K,V> @NotNull MultiMap<K, V> static <K,V> @NotNull MultiMap<K, V> protected @NotNull Collection<V>static <K,V> @NotNull MultiMap<K, V> static <K,V> @NotNull MultiMap<K, V> static <K,V> @NotNull MultiMap<K, V> protected @NotNull Map<K,Collection<V>> 已过时。Pass map to constructor.static <K,V> @NotNull MultiMap<K, V> 已过时。UseMultiMap().static <K,V> @NotNull MultiMap<K, V> empty()static <K,V> @NotNull MultiMap<K, V> 已过时。Useempty()final @NotNull Set<Map.Entry<K,Collection<V>>> entrySet()final booleanfinal @NotNull Map<K,Collection<V>> Prohibits modification of collections for existing keys and returns view of this as a map.final @NotNull Collection<V>final @NotNull Collection<V>getModifiable(K key) final inthashCode()final booleanisEmpty()keySet()final voidput(K key, Collection<V> values) final voidputAllValues(@NotNull MultiMap<? extends K, ? extends V> from) final voidputAllValues(@NotNull Map<? extends K, ? extends V> from) final voidfinal voidputValues(K key, @NotNull Collection<? extends V> values) final @Nullable Collection<V>booleanfinal voidremoveValue(K key, V value) 已过时。useremove(Object, Object)insteadfinal intsize()final @NotNull Map<K,Collection<V>> final StringtoString()final @NotNull Collection<V>values()
-
字段详细资料
-
EMPTY
已过时。Useempty() -
myMap
-
-
构造器详细资料
-
MultiMap
public MultiMap() -
MultiMap
-
MultiMap
public MultiMap(int expectedSize) -
MultiMap
-
MultiMap
public MultiMap(int initialCapacity, float loadFactor)
-
-
方法详细资料
-
copy
-
createMap
已过时。Pass map to constructor. -
createCollection
-
createEmptyCollection
-
putAllValues
-
toHashMap
-
putAllValues
-
putValues
-
putValue
-
entrySet
-
freezeValues
Prohibits modification of collections for existing keys and returns view of this as a map. -
isEmpty
public final boolean isEmpty() -
containsKey
-
containsScalarValue
-
get
-
getModifiable
-
keySet
-
size
public final int size() -
put
-
removeValue
已过时。useremove(Object, Object)instead -
remove
-
values
-
clear
public final void clear() -
remove
-
emptyInstance
已过时。Useempty() -
create
-
createIdentity
-
createLinked
-
createLinkedSet
-
createSmart
已过时。UseMultiMap(). -
createConcurrent
-
createConcurrentSet
-
create
-
equals
-
hashCode
public final int hashCode() -
toString
-
empty
-
empty()