1 | static <A> Map<A> mergeWithReverseMap(Map<A> map) { |
2 | Map map2 = cloneMap(map); |
3 | for (A key, value : map) { map2.put(value, key); } |
4 | ret map2; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017526 |
Snippet name: | mergeWithReverseMap |
Eternal ID of this version: | #1017526/1 |
Text MD5: | 5b6d3943d9b7f059351722c871fb337a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-25 16:54:42 |
Source code size: | 150 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 473 / 453 |
Referenced in: | [show references] |