5080227: (coll spec) Bug in documentation for WeakHashMap

Reviewed-by: dholmes
This commit is contained in:
Martin Buchholz 2008-03-10 23:23:47 -07:00
parent 134f15a93f
commit 5f387b52a1
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@ package java.util;
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>
*
* To successfully store and retrieve objects from a hashtable, the

View File

@ -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
* 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