1 | static SS reverseMapCI_joinDuplicatesWithPlus(SS map) { |
2 | MultiMap<S> mm = reverseMapAsMultiMapCI(map); |
3 | SS out = ciMap(); |
4 | for (S key : keys(mm)) |
5 | out.put(key, join("+", mm.get(key))); |
6 | ret out; |
7 | } |
Began life as a copy of #1006196
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021260 |
Snippet name: | reverseMapCI_joinDuplicatesWithPlus |
Eternal ID of this version: | #1021260/3 |
Text MD5: | 3aa6a9b3779e4d18d7a1742557f089d9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-06 12:24:59 |
Source code size: | 209 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 311 / 341 |
Version history: | 2 change(s) |
Referenced in: | [show references] |