performancemonster.helpers
Class SetMap<K,V>
java.lang.Object
performancemonster.helpers.SetMap<K,V>
- Type Parameters:
K
- The key type.V
- The value type.
public class SetMap<K,V>
- extends java.lang.Object
A map from objects to Set
s of objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetMap
public SetMap()
- Constructs an empty
SetMap
.
put
public void put(K key,
V value)
get
public java.util.Set<V> get(K key)
remove
public void remove(K key)
removeValue
public void removeValue(K key,
V value)
containsKey
public boolean containsKey(K key)
Copyright © 2005 Ole Friis. All Rights Reserved.