FreeHEP API
Version current

hep.graphics.heprep.util
Class HashMapList

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byhep.graphics.heprep.util.HashMapList
All Implemented Interfaces:
Cloneable, Map, MapList, Serializable

public class HashMapList
extends HashMap
implements MapList

Extends a Map and keeps a List to be able to return the list of Values.

Version:
$Id: HashMapList.java,v 1.2 2004/08/30 23:14:00 duns Exp $
Author:
M.Donszelmann
See Also:
Serialized Form
Source Code:
HashMapList.java

Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Constructor Summary
HashMapList()
           
 
Method Summary
 void clear()
           
 Object put(Object key, Object value)
           
 void putAll(Map t)
           
 Object remove(Object key)
           
 List valueList()
          Return values of map as a List
 Collection values()
           
 Set valueSet()
           
 
Methods inherited from class java.util.HashMap
clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, size
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, size
 

Constructor Detail

HashMapList

public HashMapList()
Method Detail

clear

public void clear()
Specified by:
clear in interface Map

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map

putAll

public void putAll(Map t)
Specified by:
putAll in interface Map

remove

public Object remove(Object key)
Specified by:
remove in interface Map

values

public Collection values()
Specified by:
values in interface Map

valueList

public List valueList()
Description copied from interface: MapList
Return values of map as a List

Specified by:
valueList in interface MapList

valueSet

public Set valueSet()
Specified by:
valueSet in interface MapList

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.