[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.29, Sun Sep 6 04:29:42 2015 UTC revision 1.30, Wed Sep 30 19:14:05 2015 UTC
# Line 19  Line 19 
19   * methods are designed for locating, not traversing entries.   * methods are designed for locating, not traversing entries.
20   *   *
21   * <p>A {@code NavigableMap} may be accessed and traversed in either   * <p>A {@code NavigableMap} may be accessed and traversed in either
22   * ascending or descending key order.  The {@code descendingMap}   * ascending or descending key order.  The {@link #descendingMap}
23   * method returns a view of the map with the senses of all relational   * method returns a view of the map with the senses of all relational
24   * and directional methods inverted. The performance of ascending   * and directional methods inverted. The performance of ascending
25   * operations and views is likely to be faster than that of descending   * operations and views is likely to be faster than that of descending
26   * ones.  Methods {@code subMap}, {@code headMap},   * ones.  Methods
27   * and {@code tailMap} differ from the like-named {@code   * {@link #subMap(Object, boolean, Object, boolean) subMap(K, boolean, K, boolean)},
28   * SortedMap} methods in accepting additional arguments describing   * {@link #headMap(Object, boolean) headMap(K, boolean)}, and
29   * whether lower and upper bounds are inclusive versus exclusive.   * {@link #tailMap(Object, boolean) tailMap(K, boolean)}
30   * Submaps of any {@code NavigableMap} must implement the {@code   * differ from the like-named {@code SortedMap} methods in accepting
31   * NavigableMap} interface.   * additional arguments describing whether lower and upper bounds are
32     * inclusive versus exclusive.  Submaps of any {@code NavigableMap}
33     * must implement the {@code NavigableMap} interface.
34   *   *
35   * <p>This interface additionally defines methods {@link #firstEntry},   * <p>This interface additionally defines methods {@link #firstEntry},
36   * {@link #pollFirstEntry}, {@link #lastEntry}, and   * {@link #pollFirstEntry}, {@link #lastEntry}, and
# Line 51  Line 53 
53   * implement {@code NavigableMap}, but extensions and implementations   * implement {@code NavigableMap}, but extensions and implementations
54   * of this interface are encouraged to override these methods to return   * of this interface are encouraged to override these methods to return
55   * {@code NavigableMap}.  Similarly,   * {@code NavigableMap}.  Similarly,
56   * {@link #keySet()} can be overridden to return {@code NavigableSet}.   * {@link #keySet()} can be overridden to return {@link NavigableSet}.
57   *   *
58   * <p>This interface is a member of the   * <p>This interface is a member of the
59   * <a href="{@docRoot}/../technotes/guides/collections/index.html">   * <a href="{@docRoot}/../technotes/guides/collections/index.html">

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8