1 | static <A> L<A> listGetMulti(final L<A> l, L<Int> indices) {
|
2 | ret map(indices, func(int i) -> A { _get(l, i) });
|
3 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1019566 |
| Snippet name: | listGetMulti - get multiple indexes |
| Eternal ID of this version: | #1019566/1 |
| Text MD5: | 09596e9551c5c68e28b2912637b84fdd |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-12 03:51:59 |
| Source code size: | 117 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 514 / 577 |
| Referenced in: | [show references] |