* java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
authorBryce McKinlay <bryce@mckinlay.net.nz>
Sun, 26 Oct 2003 02:48:31 +0000 (02:48 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Sun, 26 Oct 2003 02:48:31 +0000 (02:48 +0000)
From-SVN: r72944

libjava/ChangeLog
libjava/java/util/TreeMap.java

index 8d14a77d506f6e9cb2c10c27ba321e60b2772cb4..d4c19813d11a5ef7be4306e24aea2cc922099634 100644 (file)
@@ -2,6 +2,8 @@
 
        * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
        Don't check for AccessibleObject. Update javadocs.
+       
+       * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
 
 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
 
index e0cff28e02c66542be3c6ce97117139c2041cb93..9426a0bc7f5a4f2203df0667d71571c6cbddcd00 100644 (file)
@@ -533,7 +533,7 @@ public class TreeMap extends AbstractMap
    * key's mapping.
    *
    * @param key the key used to locate the value
-   * @param value the value to be stored in the HashMap
+   * @param value the value to be stored in the Map
    * @return the prior mapping of the key, or null if there was none
    * @throws ClassCastException if key is not comparable to current map keys
    * @throws NullPointerException if key is null, but the comparator does
@@ -584,11 +584,11 @@ public class TreeMap extends AbstractMap
   }
 
   /**
-   * Copies all elements of the given map into this hashtable.  If this table
+   * Copies all elements of the given map into this TreeMap.  If this map
    * already has a mapping for a key, the new mapping replaces the current
    * one.
    *
-   * @param m the map to be hashed into this
+   * @param m the map to be added
    * @throws ClassCastException if a key in m is not comparable with keys
    *         in the map
    * @throws NullPointerException if a key in m is null, and the comparator
@@ -1374,7 +1374,7 @@ public class TreeMap extends AbstractMap
   }
 
   /**
-   * Iterate over HashMap's entries. This implementation is parameterized
+   * Iterate over TreeMap's entries. This implementation is parameterized
    * to give a sequential view of keys, values, or entries.
    *
    * @author Eric Blake <ebb9@email.byu.edu>