/** Set all the elements to a given character. */ public void fill(char value) { ((CharSeq) base).fill(start, end, value); }
public void fill(int fromIndex, int toIndex, char value) { if (fromIndex < 0 || toIndex < fromIndex || start + toIndex > end) throw new IndexOutOfBoundsException(); ((CharSeq) base).fill(start + fromIndex, start + toIndex, value); }
public void setCharacterAt(int index, int ch) { if (index < 0 || index >= size()) throw new IndexOutOfBoundsException(); ((CharSeq) base).setCharacterAt(start + index, ch); }