static <A, B> void mapPutMultipleKeys(Map<A, B> map, B value, A... keys) { if (map == null) ret; for (A key : keys) map.put(key, value); }
Began life as a copy of #1008713
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018375 |
Snippet name: | mapPutMultipleKeys - put value in map with multiple keys from varargs |
Eternal ID of this version: | #1018375/1 |
Text MD5: | 5e14783854b4bce7c9a04302a1ac03ba |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-23 14:35:53 |
Source code size: | 150 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 336 / 368 |
Referenced in: | [show references] |