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

7
LINES

< > BotCompany Repo | #1008409 // printWithRisingIndent

JavaX fragment (include)

static void printWithRisingIndent(L l) {
  new StringBuilder indent;
  for (O o : unnull(l)) {
    print(indent + str(o));
    indent.append("  ");
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008409
Snippet name: printWithRisingIndent
Eternal ID of this version: #1008409/1
Text MD5: ab311923e4f8deaf7be544a1b67dd981
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-15 00:31:21
Source code size: 159 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 508 / 491
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)