From 7325f92676885ed5fc1a31c4fee5fdc080304088 Mon Sep 17 00:00:00 2001 From: andrzej Date: Tue, 17 Jun 2008 00:44:14 +0000 Subject: [PATCH] Added an accessor for the underlying map. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2327 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/SoftCache.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/java/com/samskivert/util/SoftCache.java b/src/java/com/samskivert/util/SoftCache.java index 11d2b2a8..18e24bba 100644 --- a/src/java/com/samskivert/util/SoftCache.java +++ b/src/java/com/samskivert/util/SoftCache.java @@ -3,7 +3,7 @@ // // samskivert library - useful routines for java programs // Copyright (C) 2001-2007 Michael Bayne -// +// // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; either version 2.1 of the License, or @@ -45,6 +45,14 @@ public class SoftCache _map = new HashMap>(); } + /** + * Returns a reference to the underlying map. + */ + public Map> getMap () + { + return _map; + } + /** * Returns true if the supplied key exists in this map and is mapped to an active value. */