abstract sclass TreeView<A> { abstract A node(); abstract L<TreeView<A>> children(); TreeView<A> parent() { null; } toString { ret str(node()); } }
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: | #1021569 |
Snippet name: | TreeView - interface to a tree structure |
Eternal ID of this version: | #1021569/4 |
Text MD5: | 47799a2360743417fda432924d52af55 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-18 16:29:40 |
Source code size: | 172 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 291 / 775 |
Version history: | 3 change(s) |
Referenced in: | [show references] |