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

6
LINES

< > BotCompany Repo | #1006300 // withKey - list to map

JavaX fragment (include)

static L<Map> withKey(Collection l, O key) {
  new L<Map> data;
  for (O a : l)
    data.add(litorderedmap(key, a));
  ret data;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006300
Snippet name: withKey - list to map
Eternal ID of this version: #1006300/1
Text MD5: c64d2888fbfcaaec5ef3698a7da7a7b9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-26 21:20:44
Source code size: 135 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 474 / 501
Referenced in: [show references]