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

6
LINES

< > BotCompany Repo | #1019103 // visitTree

JavaX fragment (include)

static <A> void visitTree(Tree<A> t, VF1<Tree<A>> f) {
  if (t == null) ret;
  callF(f, t);
  for (Tree<A> child : unnull(t.children))
    visitTree(child, f);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019103
Snippet name: visitTree
Eternal ID of this version: #1019103/2
Text MD5: fff7489ca94c75561bbe4dcbcfc91dba
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-23 17:19:24
Source code size: 166 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 325 / 356
Version history: 1 change(s)
Referenced in: [show references]