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

6
LINES

< > BotCompany Repo | #1010009 // mapList_getOrKeep - there is a duplicate function somewhere

JavaX fragment (include)

1  
static <A> L<A> mapList_getOrKeep(Collection<A> l, Map<A, A> map) {
2  
  new L<A> x;
3  
  if (l != null) for (A a : l)
4  
    x.add(getOrKeep(map, a));
5  
  ret x;
6  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010009
Snippet name: mapList_getOrKeep - there is a duplicate function somewhere
Eternal ID of this version: #1010009/4
Text MD5: b2391e57ab653db349a606b9dc208bc6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-06 12:38:20
Source code size: 158 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 438
Version history: 3 change(s)
Referenced in: [show references]