Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.util.collection
Class FIFOIntMap

java.lang.Object
  extended by org.hyperic.util.collection.IntHashMap
      extended by org.hyperic.util.collection.FIFOIntMap

public class FIFOIntMap
extends IntHashMap

Use the fast IntHashMap as underlying data structure


Constructor Summary
FIFOIntMap(int size)
           
 
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 org.hyperic.util.collection.IntHashMap
clear, contains, containsKey, containsValue, get, getKeys, isEmpty, rehash, remove, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FIFOIntMap

public FIFOIntMap(int size)
Method Detail

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)

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.