Inserts the character into this buffer at the specified offset. @param index the index at which to insert. @param ch the character to insert. @return this buffer. @throws ArrayIndexOutOfBoundsException if index < 0 or index > length().
(int index, char ch)
| 427 | * if {@code index < 0} or {@code index > length()}. |
| 428 | */ |
| 429 | public synchronized StringBuffer insert(int index, char ch) { |
| 430 | insert0(index, ch); |
| 431 | return this; |
| 432 | } |
| 433 | |
| 434 | /** |
| 435 | * Inserts the string representation of the specified boolean into this |