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

7
LINES

< > BotCompany Repo | #1026154 // treeMultiSetMap - uses TreeMap

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2371L/15K).

1  
static <A, B> MultiSetMap<A, B> treeMultiSetMap() {
2  
  ret new MultiSetMap(true);
3  
}
4  
5  
static <A, B> MultiSetMap<A, B> treeMultiSetMap(Comparator<A> comparator) {
6  
  ret new MultiSetMap(new TreeMap<A, Set<B>>(comparator));
7  
}

Author comment

Began life as a copy of #1010515

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026154
Snippet name: treeMultiSetMap - uses TreeMap
Eternal ID of this version: #1026154/4
Text MD5: bada5904739cb72349e4e2b22dba47bc
Transpilation MD5: 4bd5d4d3bbffbc971c769423fdd5771f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-27 13:24:15
Source code size: 226 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 329
Version history: 3 change(s)
Referenced in: [show references]