Libraryless. Click here for Pure Java version (1629L/11K).
1 | static void print_append(Appendable buf, S s, int max) ctex { |
2 | synchronized(buf) { |
3 | buf.append(s); |
4 | if (buf cast StringBuffer) |
5 | rotateStringBuffer(buf, max); |
6 | else if (buf cast StringBuilder) |
7 | rotateStringBuilder(buf, max); |
8 | } |
9 | } |
Began life as a copy of #1000658
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016424 |
Snippet name: | print_append (helper for print function) |
Eternal ID of this version: | #1016424/12 |
Text MD5: | 0a3769aa3a5ed991a7b67970878751eb |
Transpilation MD5: | d04b25af74148f2837e9c224f4690f2c |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-30 23:39:04 |
Source code size: | 257 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 545 / 733 |
Version history: | 11 change(s) |
Referenced in: | [show references] |