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

Comparing jsr166/src/main/java/util/TreeMap.java (file contents):
Revision 1.14 by jsr166, Mon May 16 08:13:36 2005 UTC vs.
Revision 1.15 by jsr166, Wed May 18 01:39:35 2005 UTC

# Line 780 | Line 780 | public class TreeMap<K,V>
780       * the iteration are undefined.  The set supports element removal,
781       * which removes the corresponding mapping from the map, via the
782       * <tt>Iterator.remove</tt>, <tt>Set.remove</tt>,
783 <     * <tt>removeAll</tt> <tt>retainAll</tt>, and <tt>clear</tt>
784 <     * operations.  It does not support the add or <tt>addAll</tt>
783 >     * <tt>removeAll</tt>, <tt>retainAll</tt>, and <tt>clear</tt>
784 >     * operations.  It does not support the <tt>add</tt> or <tt>addAll</tt>
785       * operations.
786       */
787      public Set<K> keySet() {
# Line 826 | Line 826 | public class TreeMap<K,V>
826       * mapping from the map, via the <tt>Iterator.remove</tt>,
827       * <tt>Collection.remove</tt>, <tt>removeAll</tt>,
828       * <tt>retainAll</tt> and <tt>clear</tt> operations.  It does not
829 <     * support the add or <tt>addAll</tt> operations.
829 >     * support the <tt>add</tt> or <tt>addAll</tt> operations.
830       */
831      public Collection<V> values() {
832          Collection<V> vs = values;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines