org.hyperic.util.collection
Class FIFOIntMap
java.lang.Object
org.hyperic.util.collection.IntHashMap
org.hyperic.util.collection.FIFOIntMap
public class FIFOIntMap
- extends IntHashMap
Use the fast IntHashMap as underlying data structure
Method Summary |
boolean |
containsKey(java.lang.Integer key)
|
java.lang.Object |
get(java.lang.Integer key)
|
java.lang.Object |
put(java.lang.Integer key,
java.lang.Object value)
|
java.lang.Object |
put(int key,
java.lang.Object value)
Maps the specified key to the specified
value in this hashtable. |
java.lang.Object |
remove(java.lang.Integer key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIFOIntMap
public FIFOIntMap(int size)
put
public java.lang.Object put(int key,
java.lang.Object value)
- Description copied from class:
IntHashMap
Maps the specified key
to the specified
value
in this hashtable. The key cannot be
null
.
The value can be retrieved by calling the get
method
with a key that is equal to the original key.
- Overrides:
put
in class IntHashMap
- Parameters:
key
- the hashtable key.value
- the value.
- Returns:
- the previous value of the specified key in this hashtable,
or
null
if it did not have one. - See Also:
IntHashMap.get(int)
put
public java.lang.Object put(java.lang.Integer key,
java.lang.Object value)
get
public java.lang.Object get(java.lang.Integer key)
remove
public java.lang.Object remove(java.lang.Integer key)
containsKey
public boolean containsKey(java.lang.Integer key)
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.