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

Comparing jsr166/src/main/java/util/NavigableMap.java (file contents):
Revision 1.8 by jsr166, Mon May 16 06:27:52 2005 UTC vs.
Revision 1.13 by dl, Mon Mar 27 18:23:13 2006 UTC

# Line 28 | Line 28 | package java.util;
28   * subrange traversals in either direction using <tt>navigableSubMap</tt>.
29   * Methods <tt>navigableSubMap</tt>, <tt>navigableHeadMap</tt>, and
30   * <tt>navigableTailMap</tt> differ from the similarly named
31 < * <tt>SortedMap</tt> methods only in that the returned maps
32 < * are guaranteed to obey the <tt>NavigableMap</tt> interface.
31 > * <tt>SortedMap</tt> methods only in their declared return types.
32 > * Submaps of any <tt>NavigableMap</tt> must implement the
33 > * <tt>NavigableMap</tt> interface.
34   *
35   * <p>This interface additionally defines methods <tt>firstEntry</tt>,
36   * <tt>pollFirstEntry</tt>, <tt>lastEntry</tt>, and
# Line 215 | Line 216 | public interface NavigableMap<K,V> exten
216       * the iteration are undefined.  The set supports element removal,
217       * which removes the corresponding mapping from the map, via the
218       * <tt>Iterator.remove</tt>, <tt>Set.remove</tt>,
219 <     * <tt>removeAll</tt> <tt>retainAll</tt>, and <tt>clear</tt>
220 <     * operations.  It does not support the add or <tt>addAll</tt>
219 >     * <tt>removeAll</tt>, <tt>retainAll</tt>, and <tt>clear</tt>
220 >     * operations.  It does not support the <tt>add</tt> or <tt>addAll</tt>
221       * operations.
222       *
223       * @return a set view of the keys contained in this map, sorted in

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines