CP: StringBuilder.append(char[])

This commit is contained in:
Pierre Carrier 2014-04-20 04:06:39 -07:00
parent 70b5ea6838
commit 91282a040f

View File

@ -70,6 +70,10 @@ public class StringBuilder implements CharSequence, Appendable {
return append(new String(b, offset, length));
}
public StringBuilder append(char[] b) {
return append(new String(b));
}
public StringBuilder append(Object o) {
return append(o == null ? "null" : o.toString());
}