static <A> S treeViewToString_withoutHijackPrint(final TreeView<A> t, fO... _) { new LS out; treeViewToString_withoutHijackPrint_impl(t, 0, out, _); ret lines(out); } static <A> void treeViewToString_withoutHijackPrint_impl(TreeView<A> t, int indent, LS out, O... _) { if (t == null) ret; O stringifier = optPar stringifier(_); out.add(spaces(indent) + callStringifier(stringifier, t)); for (TreeView<A> c : unnull(t.children())) treeViewToString_withoutHijackPrint_impl(c, indent+2, out, _); }
Began life as a copy of #1021921
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: | #1021922 |
Snippet name: | treeViewToString_withoutHijackPrint |
Eternal ID of this version: | #1021922/3 |
Text MD5: | 8a4501b90f32529a34d7ee2de4b7de10 |
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:51:17 |
Source code size: | 525 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 236 / 274 |
Version history: | 2 change(s) |
Referenced in: | [show references] |