1 | static MultiSet mapLike multiSetMapKeys(O f, MultiSet ms) { |
2 | new MultiSet ms2; |
3 | for (O key : keys(ms)) |
4 | ms2.add(callF(f, key), ms.get(key)); |
5 | ret ms2; |
6 | } |
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: | #1011688 |
Snippet name: | multiSetMapKeys |
Eternal ID of this version: | #1011688/2 |
Text MD5: | 9c907cf9fb6c1ec0c5a0d5fdb5e170a3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-06 11:57:17 |
Source code size: | 163 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 525 / 557 |
Version history: | 1 change(s) |
Referenced in: | [show references] |