performancemonster.helpers
Class SetMap<K,V>

java.lang.Object
  extended by 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 Sets of objects.


Constructor Summary
SetMap()
          Constructs an empty SetMap.
 
Method Summary
 boolean containsKey(K key)
           
 java.util.Set<V> get(K key)
           
 void put(K key, V value)
           
 void remove(K key)
           
 void removeValue(K key, V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetMap

public SetMap()
Constructs an empty SetMap.

Method Detail

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.