1 | static <A, B> Map<A, B> mapMinusKeysOfOtherMap(Map<A, B> map, Map map2) { |
2 | Map m2 = cloneMap(map); |
3 | for (O key : keys(map2)) |
4 | m2.remove(key); |
5 | ret m2; |
6 | } |
Began life as a copy of #1004210
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: | #1014252 |
Snippet name: | mapMinusKeysOfOtherMap |
Eternal ID of this version: | #1014252/4 |
Text MD5: | e44ec45e39501d43e52d3033fefba742 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-17 16:47:21 |
Source code size: | 163 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 532 / 543 |
Version history: | 3 change(s) |
Referenced in: | [show references] |