public class MultivaluedHashMap<K,V> extends HashMap<K,List<V>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MultivaluedHashMap() |
Modifier and Type | Method and Description |
---|---|
void |
add(K key,
V value) |
void |
addAll(K key,
List<V> valueList) |
void |
addAll(K key,
V... newValues) |
void |
addAll(MultivaluedHashMap<K,V> other) |
void |
addFirst(K key,
V value) |
void |
addMultiple(K key,
Collection<V> values) |
boolean |
equalsIgnoreValueOrder(MultivaluedHashMap<K,V> omap) |
V |
getFirst(K key) |
List<V> |
getList(K key) |
void |
putSingle(K key,
V value) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public final void addMultiple(K key, Collection<V> values)
public void addAll(MultivaluedHashMap<K,V> other)
public boolean equalsIgnoreValueOrder(MultivaluedHashMap<K,V> omap)
Copyright © 2016 JBoss by Red Hat. All rights reserved.