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.11 by jsr166, Wed Jul 20 02:18:52 2005 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines