Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1021260 // reverseMapCI_joinDuplicatesWithPlus

JavaX fragment (include)

static SS reverseMapCI_joinDuplicatesWithPlus(SS map) {
  MultiMap<S> mm = reverseMapAsMultiMapCI(map);
  SS out = ciMap();
  for (S key : keys(mm))
    out.put(key, join("+", mm.get(key)));
  ret out;
}

Author comment

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: 312 / 342
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)