Lines Matching defs:index

33  * inserted.  The user can access elements by their integer index (position in
52 * that these operations may execute in time proportional to the index value
91 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html">
244 * the lowest index <tt>i</tt> such that
320 * @param index index at which to insert the first element from the
333 * @throws IndexOutOfBoundsException if the index is out of range
334 * (<tt>index &lt; 0 || index &gt; size()</tt>)
336 boolean addAll(int index, Collection<? extends E> c);
561 * @param index index of the element to return
563 * @throws IndexOutOfBoundsException if the index is out of range
564 * (<tt>index &lt; 0 || index &gt;= size()</tt>)
566 E get(int index);
572 * @param index index of the element to replace
583 * @throws IndexOutOfBoundsException if the index is out of range
584 * (<tt>index &lt; 0 || index &gt;= size()</tt>)
586 E set(int index, E element);
594 * @param index index at which the specified element is to be inserted
604 * @throws IndexOutOfBoundsException if the index is out of range
605 * (<tt>index &lt; 0 || index &gt; size()</tt>)
607 void add(int index, E element);
615 * @param index the index of the element to be removed
619 * @throws IndexOutOfBoundsException if the index is out of range
620 * (<tt>index &lt; 0 || index &gt;= size()</tt>)
622 E remove(int index);
628 * Returns the index of the first occurrence of the specified element
630 * More formally, returns the lowest index <tt>i</tt> such that
632 * or -1 if there is no such index.
635 * @return the index of the first occurrence of the specified element in
647 * Returns the index of the last occurrence of the specified element
649 * More formally, returns the highest index <tt>i</tt> such that
651 * or -1 if there is no such index.
654 * @return the index of the last occurrence of the specified element in
680 * The specified index indicates the first element that would be
683 * return the element with the specified index minus one.
685 * @param index index of the first element to be returned from the
689 * @throws IndexOutOfBoundsException if the index is out of range
690 * ({@code index < 0 || index > size()})
692 ListIterator<E> listIterator(int index);
726 * @throws IndexOutOfBoundsException for an illegal endpoint index value