static <A, B> Map<A, B> mapMinus(Map<A, B> map, O... keys) { if (empty(keys)) ret map; Map<A, B> m2 = cloneMap(map); for (O key : keys) m2.remove(key); ret m2; }
Began life as a copy of #1004133
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004210 |
| Snippet name: | mapMinus - map minus some keys |
| Eternal ID of this version: | #1004210/3 |
| Text MD5: | 4b40434b09a149a604d861c9341dd1e0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-04-01 15:24:35 |
| Source code size: | 179 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 902 / 918 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |