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

9
LINES

< > BotCompany Repo | #1021569 // TreeView - interface to a tree structure

JavaX fragment (include)

1  
abstract sclass TreeView<A> {
2  
  abstract A node();
3  
  abstract L<TreeView<A>> children();
4  
  TreeView<A> parent() { null; }
5  
  
6  
  toString {
7  
    ret str(node());
8  
  }
9  
}

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: 293 / 777
Version history: 3 change(s)
Referenced in: [show references]