6 |
|
*/ |
7 |
|
|
8 |
|
package java.util; |
9 |
< |
import java.util.*; // for javadoc |
9 |
> |
import java.util.*; // for javadoc (till 6280605 is fixed) |
10 |
|
|
11 |
|
/** |
12 |
|
* A Red-Black tree based {@link NavigableMap} implementation. |
217 |
|
* specified value. More formally, returns <tt>true</tt> if and only if |
218 |
|
* this map contains at least one mapping to a value <tt>v</tt> such |
219 |
|
* that <tt>(value==null ? v==null : value.equals(v))</tt>. This |
220 |
< |
* operation requires time linear in the map size. |
220 |
> |
* operation will probably require time linear in the map size for |
221 |
> |
* most implementations. |
222 |
|
* |
223 |
|
* @param value value whose presence in this map is to be tested |
224 |
|
* @return <tt>true</tt> if a mapping to <tt>value</tt> exists; |
521 |
|
|
522 |
|
/** |
523 |
|
* Associates the specified value with the specified key in this map. |
524 |
< |
* If the map previously contained a mapping for this key, the old |
524 |
> |
* If the map previously contained a mapping for the key, the old |
525 |
|
* value is replaced. |
526 |
|
* |
527 |
|
* @param key key with which the specified value is to be associated |