org.gwe.utils.collections
Class HashMap2<KEY_TYPE,VALUE_TYPE>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<KEY_TYPE,VALUE_TYPE>
          extended by org.gwe.utils.collections.HashMap2<KEY_TYPE,VALUE_TYPE>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<KEY_TYPE,VALUE_TYPE>

public class HashMap2<KEY_TYPE,VALUE_TYPE>
extends java.util.HashMap<KEY_TYPE,VALUE_TYPE>

Since:
Aug 18, 2008
Author:
Marco Ruiz
See Also:
Serialized Form

Constructor Summary
HashMap2()
           
 
Method Summary
 VALUE_TYPE getOrCreate(KEY_TYPE key, MapValueCreator<KEY_TYPE,VALUE_TYPE> valueCreator)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
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
equals, hashCode
 

Constructor Detail

HashMap2

public HashMap2()
Method Detail

getOrCreate

public VALUE_TYPE getOrCreate(KEY_TYPE key,
                              MapValueCreator<KEY_TYPE,VALUE_TYPE> valueCreator)


Copyright © 2007-2009. All Rights Reserved.