No need to obscure the fact that's a HashMap.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2328 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -22,7 +22,6 @@ package com.samskivert.util;
|
|||||||
|
|
||||||
import java.lang.ref.SoftReference;
|
import java.lang.ref.SoftReference;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements a {@link SoftReference} cache wherein the values in the hashmap are not prevented
|
* Implements a {@link SoftReference} cache wherein the values in the hashmap are not prevented
|
||||||
@@ -48,7 +47,7 @@ public class SoftCache<K,V>
|
|||||||
/**
|
/**
|
||||||
* Returns a reference to the underlying map.
|
* Returns a reference to the underlying map.
|
||||||
*/
|
*/
|
||||||
public Map<K,SoftReference<V>> getMap ()
|
public HashMap<K,SoftReference<V>> getMap ()
|
||||||
{
|
{
|
||||||
return _map;
|
return _map;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user