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

8
LINES

< > BotCompany Repo | #1021571 // printTreeView

JavaX fragment (include)

static <A> void printTreeView(TreeView<A> t, O... _) {
  if (t == null) ret;
  O stringifier = optPar stringifier(_);
  print(callStringifier(stringifier, t));
  temp tempIndent();
  for (TreeView<A> c : unnull(t.children()))
    printTreeView(c, _);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021571
Snippet name: printTreeView
Eternal ID of this version: #1021571/6
Text MD5: c0e97eb2f603c409d27d0914439ee5e3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-03 17:34:07
Source code size: 259 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 321 / 332
Version history: 5 change(s)
Referenced in: [show references]