}
return subCache;
}
public synchronized void remove(Object key) {
CacheObject cacheObject = (CacheObject) cachedObjectsHash.get(key);
//If the object is not in cache, stop trying to remove it.
if (cacheObject == null) {
return;
}
//remove from the hash map