code: public boolean addAll(int index, FloatArray items) {
      if (index < 0 || index > size) {
        throw new IndexOutOfBoundsException();
      }
      ensureCapacity(size + items.size);
      if (index < size) {
        for (int i = size - 1; i >= index; i--) {
          elements[i + items.size] = elements[i];
        }
      }
      for (int i = 0; i < items.size; i++) {
        elements[index++] = items.elements[i];
      }
      size += items.size;
      return items.size > 0;
    }
docs: Inserts values into the array at the specified index.
  
  @param index
  The index at which to insert the new values.
  @param items
  A <code>FloatArray</code> containing the values to insert.
  @return A value indicating if the array has changed.
  @throws IndexOutOfBoundsException
  if <code>index &lt; 0 || index &gt; size()</code>.