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

6
LINES

< > BotCompany Repo | #1013813 // multiMapJoinValuesWithComma_treeMap

JavaX fragment (include)

1  
static <A> Map<A, S> multiMapJoinValuesWithComma_treeMap(MultiMap<A, S> mm) {
2  
  new TreeMap<A, S> map;
3  
  for (A key : keys(mm))
4  
    map.put(key, joinWithComma(mm.get(key)));
5  
  ret map;
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: #1013813
Snippet name: multiMapJoinValuesWithComma_treeMap
Eternal ID of this version: #1013813/2
Text MD5: 96cdfd65a3b054422c00197cf333dda1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-02 16:57:27
Source code size: 191 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 404 / 435
Version history: 1 change(s)
Referenced in: [show references]