1 | static <A, B> bool addMapToMapWithoutOverwriting(Map<A, B> map, Map<A, B> adding) { |
2 | if (!canPutAllStrictly(map, adding)) false; |
3 | for (A key, B value : unnull(adding)) { |
4 | mapPutStrictly(map, key, value); |
5 | } |
6 | true; |
7 | } |
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: | #1017591 |
Snippet name: | addMapToMapWithoutOverwriting |
Eternal ID of this version: | #1017591/1 |
Text MD5: | 5e068175fd5afde4c2c6f2dfeaf3634e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-28 12:16:10 |
Source code size: | 228 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 436 / 455 |
Referenced in: | [show references] |