static bool containsAtEvenPosition(L l, O a) { for (int i = 0; i < l(l); i += 2) if (eq(l.get(i), a)) true; false; } static bool containsAtEvenPosition(O[] l, O a) { for (int i = 0; i < l(l); i += 2) if (eq(l[i], a)) true; false; }
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: | #1004595 |
| Snippet name: | containsAtEvenPosition |
| Eternal ID of this version: | #1004595/1 |
| Text MD5: | 9ea33f18dfe2a3d9f1ba0e6909547e90 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-23 17:29:28 |
| Source code size: | 274 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 756 / 779 |
| Referenced in: | [show references] |