[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.14, Wed Apr 19 15:07:14 2006 UTC revision 1.15, Thu Apr 20 20:34:37 2006 UTC
# Line 23  Line 23 
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 navigableSubMap}, {@code navigableHeadMap},   * ones.  Methods {@code subMap}, {@code headMap},
27   * and {@code navigableTailMap} differ from the similarly named {@code   * and {@code tailMap} differ from the like-named {@code
28   * SortedMap} methods in accepting additional arguments describing   * SortedMap} methods in accepting additional arguments describing
29   * whether lower and upper bounds are inclusive versus exclusive.   * whether lower and upper bounds are inclusive versus exclusive.
30   * Submaps of any {@code NavigableMap} must implement the {@code   * Submaps of any {@code NavigableMap} must implement the {@code
# Line 287  Line 287 
287       *         range, and {@code fromKey} or {@code toKey} lies       *         range, and {@code fromKey} or {@code toKey} lies
288       *         outside the bounds of the range       *         outside the bounds of the range
289       */       */
290      NavigableMap<K,V> navigableSubMap(K fromKey, boolean fromInclusive,      NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive,
291                                        K toKey,   boolean toInclusive);                                        K toKey,   boolean toInclusive);
292    
293      /**      /**
# Line 317  Line 317 
317       *         restricted range, and {@code toKey} lies outside the       *         restricted range, and {@code toKey} lies outside the
318       *         bounds of the range       *         bounds of the range
319       */       */
320      NavigableMap<K,V> navigableHeadMap(K toKey, boolean inclusive);      NavigableMap<K,V> headMap(K toKey, boolean inclusive);
321    
322      /**      /**
323       * Returns a view of the portion of this map whose keys are greater than (or       * Returns a view of the portion of this map whose keys are greater than (or
# Line 346  Line 346 
346       *         restricted range, and {@code fromKey} lies outside the       *         restricted range, and {@code fromKey} lies outside the
347       *         bounds of the range       *         bounds of the range
348       */       */
349      NavigableMap<K,V> navigableTailMap(K fromKey, boolean inclusive);      NavigableMap<K,V> tailMap(K fromKey, boolean inclusive);
350  }  }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8