This is the base class for all cache implementations provided in the
org.apache.oro.util package. To derive a subclass from GenericCache
only the ... methods
need be overridden.
Although 4 subclasses of GenericCache are provided with this
package, users may not derive subclasses from this class.
Rather, users should create their own implmentations of the
Cache interface.
size()
Returns the number of elements in the cache, not to be confused with
the capacity() which returns the number
of elements that can be held in the cache at one time.
Returns the number of elements in the cache, not to be confused with
the capacity() which returns the number
of elements that can be held in the cache at one time.