org.apache.cocoon.util
Class HashMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
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
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 |
HashMap
public HashMap()
HashMap
public HashMap(int initialCapacity)
HashMap
public HashMap(int initialCapacity,
float loadFactor)
HashMap
public HashMap(Map t)
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.