ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/NavigableMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/NavigableMap.java (file contents):
Revision 1.15 by dl, Thu Apr 20 20:34:37 2006 UTC vs.
Revision 1.18 by jsr166, Fri Apr 21 06:45:18 2006 UTC

# Line 208 | Line 208 | public interface NavigableMap<K,V> exten
208      /**
209       * Returns a {@link NavigableMap} view of the mappings contained in this
210       * map in descending order.  The descending map is backed by this map, so
211 <     * changes to the map are reflected in the descending set, and vice-versa.
211 >     * changes to the map are reflected in the descending map, and vice-versa.
212       * If either map is modified while an iteration over a collection view of
213       * the other map is in progress (except through the iterator's own
214       * {@code remove} operation), the results of the iteration are undefined.
# Line 226 | Line 226 | public interface NavigableMap<K,V> exten
226       * {@code remove} operation), the results of the iteration are undefined.
227       * The set supports element removal, which removes the corresponding
228       * mapping from the map, via the {@code Iterator.remove},
229 <     * {@code Set.remove}, {@code removeAll} {@code retainAll}, and
229 >     * {@code Set.remove}, {@code removeAll}, {@code retainAll}, and
230       * {@code clear} operations.  It does not support the {@code add} or
231       * {@code addAll} operations.
232       *
# Line 268 | Line 268 | public interface NavigableMap<K,V> exten
268       *
269       * @param fromKey low endpoint of the keys in the returned map
270       * @param fromInclusive true if the low endpoint ({@code fromKey}) is
271 <     *        to be included in the the returned view
271 >     *        to be included in the returned view
272       * @param toKey high endpoint of the keys in the returned map
273       * @param toInclusive true if the high endpoint ({@code toKey}) is
274 <     *        to be included in the the returned view
274 >     *        to be included in the returned view
275       * @return a view of the portion of this map whose keys range from
276       *         {@code fromKey} to {@code toKey}
277       * @throws ClassCastException if {@code fromKey} and {@code toKey}
# Line 302 | Line 302 | public interface NavigableMap<K,V> exten
302       *
303       * @param toKey high endpoint of the keys in the returned map
304       * @param inclusive true if the high endpoint ({@code toKey}) is
305 <     *        to be included in the the returned view
305 >     *        to be included in the returned view
306       * @return a view of the portion of this map whose keys are less than
307       *         (or equal to, if {@code inclusive} is true) {@code toKey}
308       * @throws ClassCastException if {@code toKey} is not compatible
# Line 331 | Line 331 | public interface NavigableMap<K,V> exten
331       *
332       * @param fromKey low endpoint of the keys in the returned map
333       * @param inclusive true if the low endpoint ({@code fromKey}) is
334 <     *        to be included in the the returned view
334 >     *        to be included in the returned view
335       * @return a view of the portion of this map whose keys are greater than
336       *         (or equal to, if {@code inclusive} is true) {@code fromKey}
337       * @throws ClassCastException if {@code fromKey} is not compatible

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines