Libraryless. Click here for Pure Java version (2546L/16K).
1 | static <A> AutoCloseable tempIndent(S prefix default " ") {
|
2 | threadIndent(); |
3 | ret new AutoCloseable {
|
4 | public void close() {
|
5 | threadUnindent(); |
6 | } |
7 | }; |
8 | } |
Began life as a copy of #1012424
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1014431 |
| Snippet name: | tempIndent - temporarily indent printing |
| Eternal ID of this version: | #1014431/2 |
| Text MD5: | ee05aaf10d0dd131935b2b0cc5b9e152 |
| Transpilation MD5: | 6fa527afe074f986aaedb014e13b23e3 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-06 15:54:48 |
| Source code size: | 174 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 717 / 867 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |