Lines Matching defs:index

31  * inserted.  The user can access elements by their integer index (position in
50 * that these operations may execute in time proportional to the index value
89 * <a href="{@docRoot}/../technotes/guides/collections/index.html">
241 * the lowest index <tt>i</tt> such that
317 * @param index index at which to insert the first element from the
330 * @throws IndexOutOfBoundsException if the index is out of range
331 * (<tt>index &lt; 0 || index &gt; size()</tt>)
333 boolean addAll(int index, Collection<? extends E> c);
430 * @param index index of the element to return
432 * @throws IndexOutOfBoundsException if the index is out of range
433 * (<tt>index &lt; 0 || index &gt;= size()</tt>)
435 E get(int index);
441 * @param index index of the element to replace
452 * @throws IndexOutOfBoundsException if the index is out of range
453 * (<tt>index &lt; 0 || index &gt;= size()</tt>)
455 E set(int index, E element);
463 * @param index index at which the specified element is to be inserted
473 * @throws IndexOutOfBoundsException if the index is out of range
474 * (<tt>index &lt; 0 || index &gt; size()</tt>)
476 void add(int index, E element);
484 * @param index the index of the element to be removed
488 * @throws IndexOutOfBoundsException if the index is out of range
489 * (<tt>index &lt; 0 || index &gt;= size()</tt>)
491 E remove(int index);
497 * Returns the index of the first occurrence of the specified element
499 * More formally, returns the lowest index <tt>i</tt> such that
501 * or -1 if there is no such index.
504 * @return the index of the first occurrence of the specified element in
516 * Returns the index of the last occurrence of the specified element
518 * More formally, returns the highest index <tt>i</tt> such that
520 * or -1 if there is no such index.
523 * @return the index of the last occurrence of the specified element in
549 * The specified index indicates the first element that would be
552 * return the element with the specified index minus one.
554 * @param index index of the first element to be returned from the
558 * @throws IndexOutOfBoundsException if the index is out of range
559 * ({@code index < 0 || index > size()})
561 ListIterator<E> listIterator(int index);
595 * @throws IndexOutOfBoundsException for an illegal endpoint index value