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:
andrzej
2008-06-17 00:46:02 +00:00
parent 7325f92676
commit 07e6a574db
+1 -2
View File
@@ -22,7 +22,6 @@ package com.samskivert.util;
import java.lang.ref.SoftReference;
import java.util.HashMap;
import java.util.Map;
/**
* 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.
*/
public Map<K,SoftReference<V>> getMap ()
public HashMap<K,SoftReference<V>> getMap ()
{
return _map;
}