[cvs] / jsr166 / src / main / java / util / NavigableMap.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/NavigableMap.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Tue Mar 22 01:30:10 2005 UTC revision 1.4, Tue Mar 22 16:48:32 2005 UTC
# Line 25  Line 25 
25   * <tt>descendingEntrySet</tt> return descending views. The   * <tt>descendingEntrySet</tt> return descending views. The
26   * performance of ascending traversals is likely to be faster than   * performance of ascending traversals is likely to be faster than
27   * descending traversals.  Notice that it is possible to perform   * descending traversals.  Notice that it is possible to perform
28   * subrange traversals in either direction using <tt>SubMap</tt>.   * 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.
33   *   *
34   * <p>This interface additionally defines methods <tt>firstEntry</tt>,   * <p>This interface additionally defines methods <tt>firstEntry</tt>,
35   * <tt>pollFirstEntry</tt>, <tt>lastEntry</tt>, and   * <tt>pollFirstEntry</tt>, <tt>lastEntry</tt>, and
# Line 240  Line 244 
244       * <tt>fromKey</tt> and <tt>toKey</tt> are equal, the returned       * <tt>fromKey</tt> and <tt>toKey</tt> are equal, the returned
245       * navigable map is empty.)  The returned navigable map is backed       * navigable map is empty.)  The returned navigable map is backed
246       * by this map, so changes in the returned navigable map are       * by this map, so changes in the returned navigable map are
247       * reflected in this map, and vice-versa. Note: This       * reflected in this map, and vice-versa.
      * method differs from <tt>SortedMap.subMap</tt> only  
      * in that the returned map is guaranteed to support the  
      * <tt>NavigableMap</tt> interface.  
248       *       *
249       * @param fromKey low endpoint (inclusive) of the subMap.       * @param fromKey low endpoint (inclusive) of the subMap.
250       * @param toKey high endpoint (exclusive) of the subMap.       * @param toKey high endpoint (exclusive) of the subMap.

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8