static <A, B> void copyMap(Map<? extends A, ? extends B> a, Map<A, B> b) { if (a == null || b == null) ret; b.clear(); b.putAll(a); }
Began life as a copy of #1009526
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: | #1009927 |
Snippet name: | copyMap - copy all elements of one map to another, clearing the second one first |
Eternal ID of this version: | #1009927/3 |
Text MD5: | 8d1c1f4226c5054bca0185b69ced87dc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-26 20:31:21 |
Source code size: | 143 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 537 / 528 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |