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

Diff of /jsr166/src/main/java/util/NavigableSet.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 21  Line 21 
21   * additionally defines methods <tt>pollFirst</tt> and   * additionally defines methods <tt>pollFirst</tt> and
22   * <t>pollLast</tt> that return and remove the lowest and highest key,   * <t>pollLast</tt> that return and remove the lowest and highest key,
23   * if one exists, else returning <tt>null</tt>.   * if one exists, else returning <tt>null</tt>.
24     * Methods <tt>navigableSubSet</tt>, <tt>navigableHeadSet</tt>, and
25     * <tt>navigableTailSet</tt> differ from the similarly named
26     * <tt>SortedSet</tt> methods only in that the returned sets
27     * are guaranteed to obey the <tt>NavigableSet</tt> interface.
28   *   *
29   * <p> The return values of navigation methods may be ambiguous in   * <p> The return values of navigation methods may be ambiguous in
30   * implementations that permit <tt>null</tt> elements. However, even   * implementations that permit <tt>null</tt> elements. However, even
# Line 118  Line 122 
122       * exclusive.  (If <tt>fromElement</tt> and <tt>toElement</tt> are       * exclusive.  (If <tt>fromElement</tt> and <tt>toElement</tt> are
123       * equal, the returned navigable set is empty.)  The returned       * equal, the returned navigable set is empty.)  The returned
124       * navigable set is backed by this set, so changes in the returned       * navigable set is backed by this set, so changes in the returned
125       * navigable set are reflected in this set, and vice-versa. Note:       * navigable set are reflected in this set, and vice-versa.
      * This method differs from <tt>SortedSet.subSet</tt> only in that  
      * the returned set is guaranteed to support the  
      * <tt>NavigableSet</tt> interface.  
126       *       *
127       * @param fromElement low endpoint (inclusive) of the subSet.       * @param fromElement low endpoint (inclusive) of the subSet.
128       * @param toElement high endpoint (exclusive) of the subSet.       * @param toElement high endpoint (exclusive) of the subSet.

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8