1 | svoid printLinesWithGrowingIndent(Iterable<S> lines) { |
2 | S indent = ""; |
3 | for (S s : unnull(lines)) |
4 | print((indent += " ") + s); |
5 | } |
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: | #1016795 |
Snippet name: | printLinesWithGrowingIndent |
Eternal ID of this version: | #1016795/2 |
Text MD5: | 33fcfaec6a998277d272801a88f9832b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-02 17:21:27 |
Source code size: | 138 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 404 / 463 |
Version history: | 1 change(s) |
Referenced in: | [show references] |