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); }
/** Set all the elements to a given character. */ public void fill(char value) { ((CharSeq) base).fill(start, end, value); }