edu.stanford.hci.dtools.deviceeditor.components
Class IOComponentHashMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,IOComponent>
          extended by edu.stanford.hci.dtools.deviceeditor.components.IOComponentHashMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,IOComponent>

public class IOComponentHashMap
extends java.util.HashMap<java.lang.String,IOComponent>

A hash map for IOComponents that uses a component's PrivateName() as the hash key.

This software is distributed under the BSD License.

Author:
Bjoern Hartmann ( bjoern(AT)stanford.edu )
See Also:
Serialized Form

Constructor Summary
IOComponentHashMap()
           
 
Method Summary
 boolean containsKey(IOComponent key)
           
 java.lang.Object get(IOComponent key)
           
 java.util.Set<java.lang.String> keySet()
           
 java.lang.Object put(IOComponent key, IOComponent value)
           
 java.lang.Object remove(IOComponent key)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

IOComponentHashMap

public IOComponentHashMap()
Method Detail

put

public java.lang.Object put(IOComponent key,
                            IOComponent value)

containsKey

public boolean containsKey(IOComponent key)

get

public java.lang.Object get(IOComponent key)

remove

public java.lang.Object remove(IOComponent key)

keySet

public java.util.Set<java.lang.String> keySet()
Specified by:
keySet in interface java.util.Map<java.lang.String,IOComponent>
Overrides:
keySet in class java.util.HashMap<java.lang.String,IOComponent>