Add PrintStream methods

This commit is contained in:
Alexey Andreev 2016-05-11 21:16:01 +03:00
parent 3f58e3b24f
commit 88a1a39301

View File

@ -167,13 +167,28 @@ public class TPrintStream extends TFilterOutputStream {
printSB();
}
public void println(int i) {
sb.append(i).append('\n');
public void print(long l) {
sb.append(l);
printSB();
}
public void print(long l) {
sb.append(l);
public void print(double d) {
sb.append(d);
printSB();
}
public void print(TString s) {
sb.append(s);
printSB();
}
public void print(TObject s) {
sb.append(s);
printSB();
}
public void println(int i) {
sb.append(i).append('\n');
printSB();
}
@ -187,11 +202,6 @@ public class TPrintStream extends TFilterOutputStream {
printSB();
}
public void print(TString s) {
sb.append(s);
printSB();
}
public void println(TString s) {
sb.append(s).append('\n');
printSB();