changeset 4382 | c0759b1ccb56 |
parent 1308 | db0929bb4cd4 |
child 5506 | 202f599c92aa |
--- a/jdk/src/share/classes/com/sun/beans/WeakCache.java Fri Nov 27 16:20:36 2009 +0900 +++ b/jdk/src/share/classes/com/sun/beans/WeakCache.java Fri Nov 27 15:24:43 2009 +0300 @@ -81,4 +81,11 @@ this.map.remove(key); } } + + /** + * Removes all of the mappings from this cache. + */ + public void clear() { + this.map.clear(); + } }