1 | abstract sclass TripleRef<A> { |
2 | Triple<A> triple; |
3 | |
4 | *() {} |
5 | *(Triple<A> *triple) {} |
6 | |
7 | A get() { |
8 | ret tripleAtPosition(triple(), position()); |
9 | } |
10 | |
11 | Triple<A> triple() { ret triple; } |
12 | |
13 | // 0 = a, 1 = b, 2 = c |
14 | abstract int position(); |
15 | |
16 | toString { |
17 | ret position() + "@" + triple; |
18 | } |
19 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011964 |
Snippet name: | TripleRef - reference to part of a string triple |
Eternal ID of this version: | #1011964/11 |
Text MD5: | e5a30afe4bb9450520ec5527f7e6747f |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-10 02:27:53 |
Source code size: | 323 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 656 / 1216 |
Version history: | 10 change(s) |
Referenced in: | [show references] |