[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.30, Sun Sep 6 04:29:42 2015 UTC revision 1.31, Wed Sep 30 19:14:05 2015 UTC
# Line 12  Line 12 
12   * {@link #floor}, {@link #ceiling}, and {@link #higher} return elements   * {@link #floor}, {@link #ceiling}, and {@link #higher} return elements
13   * respectively less than, less than or equal, greater than or equal,   * respectively less than, less than or equal, greater than or equal,
14   * and greater than a given element, returning {@code null} if there   * and greater than a given element, returning {@code null} if there
15   * is no such element.  A {@code NavigableSet} may be accessed and   * is no such element.
16   * traversed in either ascending or descending order.  The {@code   *
17   * descendingSet} method returns a view of the set with the senses of   * <p>A {@code NavigableSet} may be accessed and traversed in either
18   * all relational and directional methods inverted. The performance of   * ascending or descending order.  The {@link #descendingSet} method
19   * ascending operations and views is likely to be faster than that of   * returns a view of the set with the senses of all relational and
20   * descending ones.  This interface additionally defines methods   * directional methods inverted. The performance of ascending
21   * {@link #pollFirst} and {@link #pollLast} that return and remove the   * operations and views is likely to be faster than that of descending
22   * lowest and highest element, if one exists, else returning {@code   * ones.  This interface additionally defines methods {@link
23   * null}.  Methods {@code subSet}, {@code headSet},   * #pollFirst} and {@link #pollLast} that return and remove the lowest
24   * and {@code tailSet} differ from the like-named {@code   * and highest element, if one exists, else returning {@code null}.
25   * SortedSet} methods in accepting additional arguments describing   * Methods
26   * whether lower and upper bounds are inclusive versus exclusive.   * {@link #subSet(Object, boolean, Object, boolean) subSet(E, boolean, E, boolean)},
27   * Subsets of any {@code NavigableSet} must implement the {@code   * {@link #headSet(Object, boolean) headSet(E, boolean)}, and
28   * NavigableSet} interface.   * {@link #tailSet(Object, boolean) tailSet(E, boolean)}
29     * differ from the like-named {@code SortedSet} methods in accepting
30     * additional arguments describing whether lower and upper bounds are
31     * inclusive versus exclusive.  Subsets of any {@code NavigableSet}
32     * must implement the {@code NavigableSet} interface.
33   *   *
34   * <p>The return values of navigation methods may be ambiguous in   * <p>The return values of navigation methods may be ambiguous in
35   * implementations that permit {@code null} elements. However, even   * implementations that permit {@code null} elements. However, even

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8