org.apache.cocoon.util
Class HashMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.apache.cocoon.util.HashMap
All Implemented Interfaces:
Serializable, Cloneable, Map

public class HashMap
extends HashMap

Extended Version of HashMap.

Version:
CVS $Id: HashMap.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Christian Haul
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
HashMap()
           
HashMap(int initialCapacity)
           
HashMap(int initialCapacity, float loadFactor)
           
HashMap(Map t)
           
 
Method Summary
 Object get(Object key, Object _default)
          Get method extended by default object to be returned when key is not found.
 
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

HashMap

public HashMap()

HashMap

public HashMap(int initialCapacity)

HashMap

public HashMap(int initialCapacity,
               float loadFactor)

HashMap

public HashMap(Map t)
Method Detail

get

public Object get(Object key,
                  Object _default)
Get method extended by default object to be returned when key is not found.

Parameters:
key - key to look up
_default - default value to return if key is not found
Returns:
value that is associated with key


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.