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