Adds appending of doubles to a StringBuffer

This commit is contained in:
Dain 2008-01-30 16:26:30 -07:00
parent 34cc390286
commit 8a0ffe186f

View File

@ -50,6 +50,11 @@ public class StringBuffer {
return this;
}
public synchronized StringBuffer append(double v) {
sb.append(v);
return this;
}
public synchronized StringBuffer append(char[] b, int offset, int length) {
sb.append(b, offset, length);
return this;