class MutableCharArray implements CharSequence, Cloneable {

  public final char charAt(final int index) {
    if (index < 0 || index >= length) {
      throw new IndexOutOfBoundsException();
    }

    return buffer[start + index];
  }

  public  MutableCharArray();
  public  MutableCharArray(CharSequence seq);
  public  MutableCharArray(char[] buffer);
  public  MutableCharArray(char[] buffer, int start, int length);

}