/** * Deletes a range of characters. * * @param start * the offset of the first character. * @param end * the offset one past the last character. * @return this StringBuffer. * @throws StringIndexOutOfBoundsException * if {@code start < 0}, {@code start > end} or {@code end > * length()}. */ public synchronized StringBuffer delete(int start, int end) { delete0(start, end); return this; }
/** * Deletes a range of characters. * * @param start * the offset of the first character. * @param end * the offset one past the last character. * @return this StringBuffer. * @throws StringIndexOutOfBoundsException * if {@code start < 0}, {@code start > end} or {@code end > * length()}. */ public synchronized StringBuffer delete(int start, int end) { delete0(start, end); return this; }
/** * Deletes a range of characters. * * @param start * the offset of the first character. * @param end * the offset one past the last character. * @return this StringBuffer. * @throws StringIndexOutOfBoundsException * if {@code start < 0}, {@code start > end} or {@code end > * length()}. */ public synchronized StringBuffer delete(int start, int end) { delete0(start, end); return this; }
/** * Deletes a range of characters. * * @param start * the offset of the first character. * @param end * the offset one past the last character. * @return this StringBuffer. * @throws StringIndexOutOfBoundsException * if {@code start < 0}, {@code start > end} or {@code end > * length()}. */ public synchronized StringBuffer delete(int start, int end) { delete0(start, end); return this; }
/** * Deletes a range of characters. * * @param start * the offset of the first character. * @param end * the offset one past the last character. * @return this StringBuffer. * @throws StringIndexOutOfBoundsException * if {@code start < 0}, {@code start > end} or {@code end > * length()}. */ public synchronized StringBuffer delete(int start, int end) { delete0(start, end); return this; }
/** * Deletes a range of characters. * * @param start * the offset of the first character. * @param end * the offset one past the last character. * @return this StringBuffer. * @throws StringIndexOutOfBoundsException * if {@code start < 0}, {@code start > end} or {@code end > * length()}. */ public synchronized StringBuffer delete(int start, int end) { delete0(start, end); return this; }
/** * Deletes a range of characters. * * @param start * the offset of the first character. * @param end * the offset one past the last character. * @return this StringBuffer. * @throws StringIndexOutOfBoundsException * if {@code start < 0}, {@code start > end} or {@code end > * length()}. */ public synchronized StringBuffer delete(int start, int end) { delete0(start, end); return this; }