org.apache.cocoon.util
Class HashMap
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--org.apache.cocoon.util.HashMap
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class HashMap
- extends java.util.HashMap
Extended Version of HashMap
.
- Version:
- CVS $Id: HashMap.java,v 1.4 2002/02/22 07:03:57 cziegeler Exp $
- Author:
- Christian Haul
- See Also:
- Serialized Form
Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary |
java.lang.Object |
get(java.lang.Object key,
java.lang.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 |
HashMap
public HashMap()
HashMap
public HashMap(int initialCapacity)
HashMap
public HashMap(int initialCapacity,
float loadFactor)
HashMap
public HashMap(java.util.Map t)
get
public java.lang.Object get(java.lang.Object key,
java.lang.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-2002 Apache Software Foundation. All Rights Reserved.