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).

static <A, B> MultiSetMap<A, B> treeMultiSetMap() {
  ret new MultiSetMap(true);
}

static <A, B> MultiSetMap<A, B> treeMultiSetMap(Comparator<A> comparator) {
  ret new MultiSetMap(new TreeMap<A, Set<B>>(comparator));
}

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