Class MMap<K,V>
java.lang.Object
org.eclipse.aether.util.graph.manager.MMap<K,V>
- Type Parameters:
K
-V
-
Warning: this is a special map-like construct that suits only and should be used only in this package!
It has the following properties:
- memorizes once calculated hashCode
- once hashCode calculated, goes into "read only" mode (put method will fail)
- otherwise all the rest is same as for
HashMap
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(K key) static <K,
V> MMap <K, V> static <K,
V> MMap <K, Collection<V>> copyWithKey
(K key, MMap<K, Collection<V>> orig) done()
static <K,
V> MMap <K, V> empty()
boolean
int
hashCode()