org.jscience.util.cache
Class ChangeableCache

java.lang.Object
  extended by org.jscience.util.cache.ChangeableCache

public class ChangeableCache
extends java.lang.Object

A cache that clears values as the keys fire ChangeEvents of a given type.

Since:
1.1

Constructor Summary
ChangeableCache(ChangeType ct)
          Creates a new ChangeableCache object.
 
Method Summary
 java.lang.Object get(java.lang.Object key)
          DOCUMENT ME!
 void put(java.lang.Object key, java.lang.Object value)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeableCache

public ChangeableCache(ChangeType ct)
Creates a new ChangeableCache object.

Parameters:
ct - DOCUMENT ME!
Method Detail

put

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

Parameters:
key - DOCUMENT ME!
value - DOCUMENT ME!

get

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

Parameters:
key - DOCUMENT ME!
Returns:
DOCUMENT ME!