public class MultiMap<K,V>
extends java.util.HashMap<K,java.util.List<V>>
Note that this class makes possible to keep multiple values for each key.
To assign a value for any key, use insert method.
Constructor and Description |
---|
MultiMap() |
Modifier and Type | Method and Description |
---|---|
void |
insert(K key,
V value)
insert value into List that is paired with key K.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Copyright © 2025. All rights reserved.