summaryrefslogtreecommitdiffstats
path: root/libjava/java
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-26 02:48:31 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-26 02:48:31 +0000
commit17dcd4faa5a91297c5116f50a7fcce7d4a01df10 (patch)
tree3b3954915a256e3cd7bb2a921cdafb04b5d79f96 /libjava/java
parent933479869291cf779499ba2cd2cf9faf9c1a45b3 (diff)
downloadppe42-gcc-17dcd4faa5a91297c5116f50a7fcce7d4a01df10.tar.gz
ppe42-gcc-17dcd4faa5a91297c5116f50a7fcce7d4a01df10.zip
* java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72944 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/util/TreeMap.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/java/util/TreeMap.java b/libjava/java/util/TreeMap.java
index e0cff28e02c..9426a0bc7f5 100644
--- a/libjava/java/util/TreeMap.java
+++ b/libjava/java/util/TreeMap.java
@@ -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>
OpenPOWER on IntegriCloud