5080227: (coll spec) Bug in documentation for WeakHashMap
Reviewed-by: dholmes
This commit is contained in:
parent
134f15a93f
commit
5f387b52a1
@ -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;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
|
||||||
|
Loading…
Reference in New Issue
Block a user