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

8
LINES

< > BotCompany Repo | #1021571 // printTreeView

JavaX fragment (include)

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

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: 322 / 333
Version history: 5 change(s)
Referenced in: [show references]