harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r541481 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/AbstractMap.java
Date Thu, 24 May 2007 23:36:51 GMT
Author: apetrenko
Date: Thu May 24 16:36:50 2007
New Revision: 541481

URL: http://svn.apache.org/viewvc?view=rev&rev=541481
Log:
Patch for HARMONY-3942 "[classlib] [luni] Updated Javadoc for java.util.AbstractMap.entrySet()"

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/AbstractMap.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/AbstractMap.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/AbstractMap.java?view=diff&rev=541481&r1=541480&r2=541481
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/AbstractMap.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/AbstractMap.java
Thu May 24 16:36:50 2007
@@ -19,7 +19,7 @@
 
 /**
  * AbstractMap is an abstract implementation of the Map interface. This
- * Implementation does not support adding. A subclass must implement the
+ * implementation does not support adding. A subclass must implement the
  * abstract method entrySet().
  * 
  * @since 1.2
@@ -103,14 +103,13 @@
     }
 
     /**
-     * Answers a set view of the mappings contained in this map. Each element in
-     * this set is a Map.Entry. The set is backed by the map so changes to one
-     * are reflected by the other. (If the map is modified while an iteration
-     * over the set is in progress, the results of the iteration are undefined.)
-     * The set supports remove, removeAll, retainAll and clear operations, and
-     * it does not support add or addAll operations.
+     * Returns a Set of <code>Map.Entry</code>s that represent the entries in
+     * this Map. Making changes to this Set will change the original Map and
+     * vice-versa. Entries can be removed from the Set, or their values can be
+     * changed, but new entries cannot be added to the Set.
      * 
-     * @return a set of the mappings contained in this map
+     * @return a Set of <code>Map.Entry</code>s representing the entries in
+     *         this Map
      */
     public abstract Set<Map.Entry<K, V>> entrySet();
 



Mime
View raw message