Libraryless. Click here for Pure Java version (124L/1K/4K).
!759 abstract sclass Ref { abstract S getID(); } sclass Node extends Ref { S id = randomID(12); S name; S getID() { ret id; } toString { ret id + " - " + or2(name, "?"); } } p { print(new Node); print(new Node); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003013 |
| Snippet name: | Mental Nodes (dev.) |
| Eternal ID of this version: | #1003013/1 |
| Text MD5: | 8cb63b9415be961dc27a12d005c986a7 |
| Transpilation MD5: | 9e1c718d369ca7de97d6da1d0ffb39cc |
| Author: | stefan |
| Category: | logic bots |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-04-18 22:14:28 |
| Source code size: | 270 bytes / 23 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 920 / 967 |
| Referenced in: | #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |