5 |
|
*/ |
6 |
|
|
7 |
|
package java.util; |
8 |
+ |
import java.util.*; // for javadoc (till 6280605 is fixed) |
9 |
|
|
10 |
|
/** |
11 |
|
* A {@link SortedMap} extended with navigation methods returning the |
29 |
|
* subrange traversals in either direction using <tt>navigableSubMap</tt>. |
30 |
|
* Methods <tt>navigableSubMap</tt>, <tt>navigableHeadMap</tt>, and |
31 |
|
* <tt>navigableTailMap</tt> differ from the similarly named |
32 |
< |
* <tt>SortedMap</tt> methods only in that the returned maps |
33 |
< |
* are guaranteed to obey the <tt>NavigableMap</tt> interface. |
32 |
> |
* <tt>SortedMap</tt> methods only in their declared return types. |
33 |
> |
* Submaps of any <tt>NavigableMap<tt> must implement the |
34 |
> |
* <tt>NavigableMap</tt> interface. |
35 |
|
* |
36 |
|
* <p>This interface additionally defines methods <tt>firstEntry</tt>, |
37 |
|
* <tt>pollFirstEntry</tt>, <tt>lastEntry</tt>, and |
217 |
|
* the iteration are undefined. The set supports element removal, |
218 |
|
* which removes the corresponding mapping from the map, via the |
219 |
|
* <tt>Iterator.remove</tt>, <tt>Set.remove</tt>, |
220 |
< |
* <tt>removeAll</tt> <tt>retainAll</tt>, and <tt>clear</tt> |
221 |
< |
* operations. It does not support the add or <tt>addAll</tt> |
220 |
> |
* <tt>removeAll</tt>, <tt>retainAll</tt>, and <tt>clear</tt> |
221 |
> |
* operations. It does not support the <tt>add</tt> or <tt>addAll</tt> |
222 |
|
* operations. |
223 |
|
* |
224 |
|
* @return a set view of the keys contained in this map, sorted in |