if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++;
if (offset < 0 || offset > count || len < 0 || str_offset < 0 || str_offset > str.length - len) throw new StringIndexOutOfBoundsException(); ensureCapacity(count + len); VMSystem.arraycopy(value, offset, value, offset + len, count - offset); VMSystem.arraycopy(str, str_offset, value, offset, len); count += len;
  public StringBuilder insert(int offset, char ch)  {    if (offset < 0 || offset > count)      throw new StringIndexOutOfBoundsException(offset);    ensureCapacity(count + 1);    VMSystem.arraycopy(value, offset, value, offset + 1, count - offset);    value[offset] = ch;    count++;    return this;  }