add StringBuilder.append(boolean)

This commit is contained in:
Joel Dice 2007-08-23 18:20:42 -06:00
parent 256bcf04e0
commit e9cafcad37

View File

@ -58,6 +58,10 @@ public class StringBuilder {
return this; return this;
} }
public StringBuilder append(boolean v) {
return append(String.valueOf(v));
}
public StringBuilder append(int v) { public StringBuilder append(int v) {
return append(String.valueOf(v)); return append(String.valueOf(v));
} }