Methods Summary |
---|
public void | clear()Removes all mappings from this pool.
|
public boolean | containsKey(java.lang.Object key)Returns true if this pool contains mapping for the specified key.
|
public boolean | containsValue(java.lang.Object val)Returns true if this pool contains mapping for the specified value.
|
public java.lang.Object | get(java.lang.Object key)Returns the object for the given key.
|
public int | getMaxSize()Returns the maximum number of mappings allowed in this pool.
|
public java.lang.String | getName()Returns the name of this pool.
|
public java.lang.Object | put(java.lang.Object key, java.lang.Object val)Adds the object to the pool.
|
public java.lang.Object | remove(java.lang.Object key)Removes this keyed entry from the pool.
|
public void | resize(int size)Resets the max size of the pool. If new size is less than current
size, all extra entries in the pool will be removed.
|
public int | size()Returns the number of mappings in this pool.
|
public java.util.Collection | values()Returns a collection view of the values contained in this pool.
|