182 |
|
* |
183 |
|
* @param list the list to be searched. |
184 |
|
* @param key the key to be searched for. |
185 |
< |
* @return index of the search key, if it is contained in the list; |
185 |
> |
* @return the index of the search key, if it is contained in the list; |
186 |
|
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The |
187 |
|
* <i>insertion point</i> is defined as the point at which the |
188 |
|
* key would be inserted into the list: the index of the first |
287 |
|
* @param c the comparator by which the list is ordered. A |
288 |
|
* <tt>null</tt> value indicates that the elements' <i>natural |
289 |
|
* ordering</i> should be used. |
290 |
< |
* @return index of the search key, if it is contained in the list; |
290 |
> |
* @return the index of the search key, if it is contained in the list; |
291 |
|
* otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The |
292 |
|
* <i>insertion point</i> is defined as the point at which the |
293 |
|
* key would be inserted into the list: the index of the first |