Transpiled version (2783L) is out of date.
1 | svoid print_tee(Appendable buf, S prefix default "", O o) ctex { |
2 | S s = combinePrintParameters(prefix, o); |
3 | buf?.append(s + "\n"); // we prefer this over 2 calls, it's possibly atomic |
4 | print(s); |
5 | } |
6 | |
7 | svoid print_tee(StringBuilder buf) { |
8 | print_tee(buf, ""); |
9 | } |
Began life as a copy of #1010503
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031588 |
Snippet name: | print_tee - print line into console and StringBuilder |
Eternal ID of this version: | #1031588/2 |
Text MD5: | 82d48fd7d57bec87da43cff0b2009b44 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-22 07:15:55 |
Source code size: | 271 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 175 / 244 |
Version history: | 1 change(s) |
Referenced in: | [show references] |