org.jscience.util.cache
Class WeakCacheMap

java.lang.Object
  extended by org.jscience.util.cache.WeakCacheMap
All Implemented Interfaces:
CacheMap

public class WeakCacheMap
extends java.lang.Object
implements CacheMap

A cache which retains weak references to objects

Since:
1.3

Constructor Summary
WeakCacheMap()
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
          DOCUMENT ME!
 void put(java.lang.Object key, java.lang.Object value)
          DOCUMENT ME!
 void remove(java.lang.Object key)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeakCacheMap

public WeakCacheMap()
Method Detail

put

public void put(java.lang.Object key,
                java.lang.Object value)
DOCUMENT ME!

Specified by:
put in interface CacheMap
Parameters:
key - DOCUMENT ME!
value - DOCUMENT ME!

get

public java.lang.Object get(java.lang.Object key)
DOCUMENT ME!

Specified by:
get in interface CacheMap
Parameters:
key - DOCUMENT ME!
Returns:
DOCUMENT ME!

remove

public void remove(java.lang.Object key)
DOCUMENT ME!

Specified by:
remove in interface CacheMap
Parameters:
key - DOCUMENT ME!