Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1019566 // listGetMulti - get multiple indexes

JavaX fragment (include)

static <A> L<A> listGetMulti(final L<A> l, L<Int> indices) {
  ret map(indices, func(int i) -> A { _get(l, i) });
}

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: 231 / 287
Referenced in: [show references]