1 | static O gOneAssoc() { |
2 | ret func { |
3 | L<S> log = genLog(); |
4 | for (int i = l(log)-2; i >= 0; i--) |
5 | if (eqic(log.get(i), last(log))) |
6 | ret log.get(i+1); |
7 | null; |
8 | }; |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003834 |
Snippet name: | gOneAssoc |
Eternal ID of this version: | #1003834/1 |
Text MD5: | 61aea87128dfc34015eb60b28059b55c |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-28 14:28:32 |
Source code size: | 190 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 620 / 638 |
Referenced in: | [show references] |