--- jsr166/src/main/java/util/NavigableMap.java 2006/04/19 15:07:14 1.14 +++ jsr166/src/main/java/util/NavigableMap.java 2006/04/20 20:34:37 1.15 @@ -23,8 +23,8 @@ package java.util; * method returns a view of the map with the senses of all relational * and directional methods inverted. The performance of ascending * operations and views is likely to be faster than that of descending - * ones. Methods {@code navigableSubMap}, {@code navigableHeadMap}, - * and {@code navigableTailMap} differ from the similarly named {@code + * ones. Methods {@code subMap}, {@code headMap}, + * and {@code tailMap} differ from the like-named {@code * SortedMap} methods in accepting additional arguments describing * whether lower and upper bounds are inclusive versus exclusive. * Submaps of any {@code NavigableMap} must implement the {@code @@ -287,8 +287,8 @@ public interface NavigableMap exten * range, and {@code fromKey} or {@code toKey} lies * outside the bounds of the range */ - NavigableMap navigableSubMap(K fromKey, boolean fromInclusive, - K toKey, boolean toInclusive); + NavigableMap subMap(K fromKey, boolean fromInclusive, + K toKey, boolean toInclusive); /** * Returns a view of the portion of this map whose keys are less than (or @@ -317,7 +317,7 @@ public interface NavigableMap exten * restricted range, and {@code toKey} lies outside the * bounds of the range */ - NavigableMap navigableHeadMap(K toKey, boolean inclusive); + NavigableMap headMap(K toKey, boolean inclusive); /** * Returns a view of the portion of this map whose keys are greater than (or @@ -346,5 +346,5 @@ public interface NavigableMap exten * restricted range, and {@code fromKey} lies outside the * bounds of the range */ - NavigableMap navigableTailMap(K fromKey, boolean inclusive); + NavigableMap tailMap(K fromKey, boolean inclusive); }