ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentSkipListMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ConcurrentSkipListMap.java (file contents):
Revision 1.38 by jsr166, Mon Jul 18 01:16:25 2005 UTC vs.
Revision 1.39 by jsr166, Mon Jul 18 21:37:28 2005 UTC

# Line 2069 | Line 2069 | public class ConcurrentSkipListMap<K,V>
2069       * Returns <tt>true</tt> if the given object is also a map and the
2070       * two maps represent the same mappings.  More formally, two maps
2071       * <tt>m1</tt> and <tt>m2</tt> represent the same mappings if
2072 <     * <tt>m1.keySet().equals(m2.keySet())</tt> and for every key
2073 <     * <tt>k</tt> in <tt>m1.keySet()</tt>, <tt> (m1.get(k)==null ?
2074 <     * m2.get(k)==null : m1.get(k).equals(m2.get(k))) </tt>.  This
2072 >     * <tt>m1.entrySet().equals(m2.entrySet())</tt>.  This
2073       * operation may return misleading results if either map is
2074       * concurrently modified during execution of this method.
2075       *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines