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

5
LINES

< > BotCompany Repo | #1010473 // mapUsingMap

JavaX fragment (include)

static <A, B> L<B> mapUsingMap(Map<A, B> map, Collection<A> l) {
  new L<B> out;
  if (l != null) for (A a : l) out.add(map.get(a));
  ret out;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010473
Snippet name: mapUsingMap
Eternal ID of this version: #1010473/2
Text MD5: 00c922b5cc834e014e709011fa2c3030
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-18 03:20:41
Source code size: 149 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 346 / 373
Version history: 1 change(s)
Referenced in: [show references]