sclass DerivedMechLists extends VirtualMechLists { new SimpleMechLists a; VirtualMechLists b = new DefaultMechLists; S mL_raw(S listName) { S text = a.mL_raw(listName); if (text != null) ret text; ret b.mL_raw(listName); } void append(S listName, S text) { a.append(listName, text); } void setText(S listName, S text) { a.setText(listName, text); } }
Began life as a copy of #1017767
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017869 |
Snippet name: | DerivedMechLists |
Eternal ID of this version: | #1017869/2 |
Text MD5: | e661ae92c9416bc92e1beaba9851290b |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-18 23:02:41 |
Source code size: | 410 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 355 / 909 |
Version history: | 1 change(s) |
Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |