static <A, B> Map<A, B> keysToLinkedHashMap(Map<A, B> map, Collection<A> l) { Map<A, B> out = linkedHashMap(); for (A a : unnull(l)) out.put(a, map.get(a)); ret out; }
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: | #1014187 |
Snippet name: | keysToLinkedHashMap |
Eternal ID of this version: | #1014187/1 |
Text MD5: | 789b0346978235f5027716ce2bce08d0 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-15 15:40:34 |
Source code size: | 182 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 411 / 425 |
Referenced in: | [show references] |