提交 33c6a9cf 编写于 作者: M martin

5080227: (coll spec) Bug in documentation for WeakHashMap

Reviewed-by: dholmes
上级 412459e2
...@@ -27,7 +27,7 @@ package java.util; ...@@ -27,7 +27,7 @@ package java.util;
import java.io.*; import java.io.*;
/** /**
* This class implements a hashtable, which maps keys to values. Any * This class implements a hash table, which maps keys to values. Any
* non-<code>null</code> object can be used as a key or as a value. <p> * non-<code>null</code> object can be used as a key or as a value. <p>
* *
* To successfully store and retrieve objects from a hashtable, the * To successfully store and retrieve objects from a hashtable, the
......
...@@ -29,7 +29,8 @@ import java.lang.ref.ReferenceQueue; ...@@ -29,7 +29,8 @@ import java.lang.ref.ReferenceQueue;
/** /**
* A hashtable-based <tt>Map</tt> implementation with <em>weak keys</em>. * Hash table based implementation of the <tt>Map</tt> interface, with
* <em>weak keys</em>.
* An entry in a <tt>WeakHashMap</tt> will automatically be removed when * An entry in a <tt>WeakHashMap</tt> will automatically be removed when
* its key is no longer in ordinary use. More precisely, the presence of a * its key is no longer in ordinary use. More precisely, the presence of a
* mapping for a given key will not prevent the key from being discarded by the * mapping for a given key will not prevent the key from being discarded by the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册