Package org.jscience.util.cache

A simple cache system with pluggable caching behaviours.

See:
          Description

Interface Summary
Cache Interface for managing caches of objects.
CacheMap

Interface for managing caches of objects fetchable by key.

CacheReference Interface for a reference to an object, analogous to java.lang.ref.Referencce, but more flexible.
 

Class Summary
ChangeableCache A cache that clears values as the keys fire ChangeEvents of a given type.
FixedSizeCache Cache which stores up to limit Objects.
FixedSizeMap A cache that only remembers a given number of keys.
KeyedWeakReference Subclass of WeakReference which includes and extra field (the key) which can be used to help cleanup once this reference has been enqueued.
SoftReferenceCache Cache which is cleared according to memory pressure.
WeakCacheMap A cache which retains weak references to objects
WeakValueHashMap Map implementation which keeps weak references to values.
 

Package org.jscience.util.cache Description

A simple cache system with pluggable caching behaviours.