Libraryless. Click here for Pure Java version (3338L/21K).
static <A> JTree jDynTreeFromTree(Tree<A> tree) { ret jDynTree(tree, func(Tree<A> tree) -> L<Tree<A>> { tree.children() }, valueToText := (IF1<Tree<A>, S>) t -> str(t.value())); }
Began life as a copy of #1016802
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028360 |
Snippet name: | jDynTreeFromTree - jDynTree from Tree object |
Eternal ID of this version: | #1028360/3 |
Text MD5: | 0c379c5515bfb18b50476c381aad2020 |
Transpilation MD5: | 8d418a8bcbd583f3da8e6c82a30d09da |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-13 13:24:35 |
Source code size: | 193 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 168 / 267 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |