225 |
|
* this list, searching forwards from {@code index}, or returns -1 if |
226 |
|
* the element is not found. |
227 |
|
* More formally, returns the lowest index {@code i} such that |
228 |
< |
* <tt>(i >= index && (e==null ? get(i)==null : e.equals(get(i))))</tt>, |
228 |
> |
* {@code i >= index && Objects.equals(get(i), e)}, |
229 |
|
* or -1 if there is no such index. |
230 |
|
* |
231 |
|
* @param e element to search for |
253 |
|
* this list, searching backwards from {@code index}, or returns -1 if |
254 |
|
* the element is not found. |
255 |
|
* More formally, returns the highest index {@code i} such that |
256 |
< |
* <tt>(i <= index && (e==null ? get(i)==null : e.equals(get(i))))</tt>, |
256 |
> |
* {@code i <= index && Objects.equals(get(i), e)}, |
257 |
|
* or -1 if there is no such index. |
258 |
|
* |
259 |
|
* @param e element to search for |