Example #1
0
 /** Set all the elements to a given character. */
 public void fill(char value) {
   ((CharSeq) base).fill(start, end, value);
 }
Example #2
0
 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);
 }
Example #3
0
 public void setCharacterAt(int index, int ch) {
   if (index < 0 || index >= size()) throw new IndexOutOfBoundsException();
   ((CharSeq) base).setCharacterAt(start + index, ch);
 }