Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1016795 // printLinesWithGrowingIndent

JavaX fragment (include)

svoid printLinesWithGrowingIndent(Iterable<S> lines) {
  S indent = "";
  for (S s : unnull(lines))
    print((indent += "  ") + s);
}

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: 403 / 461
Version history: 1 change(s)
Referenced in: [show references]