mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Add PrintStream methods
This commit is contained in:
parent
3f58e3b24f
commit
88a1a39301
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user