add StringBuffer.append(char[])

This commit is contained in:
Zsombor 2008-07-13 18:55:05 -06:00 committed by Joel Dice
parent 074f1a3853
commit 2fe571c461

View File

@ -70,6 +70,11 @@ public class StringBuffer implements CharSequence {
return this;
}
public synchronized StringBuffer append(char[] b) {
sb.append(b, 0, b.length);
return this;
}
public synchronized StringBuffer insert(int i, String s) {
sb.insert(i, s);
return this;