1 | sclass Relation {
|
2 | S relation; |
3 | L<S> things; |
4 | |
5 | *() {}
|
6 | *(S *relation, L<S> *things) {}
|
7 | *(S *relation, S... things) { this.things = asList(things); }
|
8 | |
9 | bool is(S s) { ret eqic(relation, s); }
|
10 | S get(int i) { ret _get(things, i); }
|
11 | S a() { ret _get(things, 0); }
|
12 | S b() { ret _get(things, 1); }
|
13 | S c() { ret _get(things, 2); }
|
14 | |
15 | [stdEq] |
16 | } |
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: | #1009500 |
| Snippet name: | Relation |
| Eternal ID of this version: | #1009500/10 |
| Text MD5: | 4ff6764bd40fd371b8f42cae31bafbb5 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-08-06 20:42:10 |
| Source code size: | 370 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 748 / 1390 |
| Version history: | 9 change(s) |
| Referenced in: | [show references] |