public class MultiSet<K,V> extends Object
Constructor and Description |
---|
MultiSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
addAllValues(K key,
Collection<V> values) |
List<V> |
allValues() |
void |
clear() |
boolean |
containsKey(K key) |
Collection<V> |
get(K key) |
boolean |
isEmpty() |
Set<K> |
keys() |
boolean |
put(K key,
V value) |
void |
putAllValues(K key,
HashSet<V> values) |
Collection<V> |
remove(K key) |
void |
removeValue(K k,
V v) |
int |
size() |
public boolean isEmpty()
public boolean containsKey(K key)
public boolean addAllValues(K key, Collection<V> values)
public Collection<V> remove(K key)
public int size()
public Collection<V> get(K key)
public void clear()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.