Added an accessor for the underlying map.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2327 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -45,6 +45,14 @@ public class SoftCache<K,V>
|
||||
_map = new HashMap<K,SoftReference<V>>();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a reference to the underlying map.
|
||||
*/
|
||||
public Map<K,SoftReference<V>> getMap ()
|
||||
{
|
||||
return _map;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the supplied key exists in this map and is mapped to an active value.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user