UC Berkeley Group for User Interface Research
Updated November 17, 2000

edu.berkeley.guir.lib.collection
Class HashMapSet

java.lang.Object
  |
  +--edu.berkeley.guir.lib.collection.HashMapSet

public class HashMapSet
extends Object

Map from key to a set of objects.

This software is distributed under the Berkeley Software License.

 Revisions:  - GUIRLib-v1.0-1.0.0, May 16 2000, JH
               Created class
             - GUIRLib-v1.2-1.0.0, Jun 22 2000, JH
               Touched for GUIRLib release
             - GUIRLib-v1.3-1.0.0, Aug 11 2000, JH
               Touched for GUIRLib release
             - GUIRLib-v1.4-1.0.0, Aug 31 2000, JH
               Touched for GUIRLib release
 

Since:
JDK 1.3
Version:
GUIRLib-v1.4-1.0.0, Aug 31 2000
Author:
(jasonh@cs.berkeley.edu)

Constructor Summary
HashMapSet()
           
 
Method Summary
 boolean containsValue(Object key, Object value)
          Check if this key's set contains the specified value.
static void main(String[] argv)
           
 void put(Object key, Object val)
          put a value to the specified key's set.
 void remove(Object key, Object val)
          Remove a value from the specified key's set.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HashMapSet

public HashMapSet()
Method Detail

put

public void put(Object key,
                Object val)
put a value to the specified key's set.

remove

public void remove(Object key,
                   Object val)
Remove a value from the specified key's set.

containsValue

public boolean containsValue(Object key,
                             Object value)
Check if this key's set contains the specified value.

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] argv)

Copyright Information