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

7
LINES

< > BotCompany Repo | #1010515 // treeMultiMap - uses TreeMap

JavaX fragment (include)

static <A, B> MultiMap<A, B> treeMultiMap() {
  ret new MultiMap(true);
}

static <A, B> MultiMap<A, B> treeMultiMap(Comparator<A> comparator) {
  ret new MultiMap(new TreeMap<A, L<B>>(comparator));
}

Author comment

Began life as a copy of #1010512

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: #1010515
Snippet name: treeMultiMap - uses TreeMap
Eternal ID of this version: #1010515/4
Text MD5: 6e82ac6aff7c4ac251bd4ea2f538fcf2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-08 08:57:08
Source code size: 206 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 552 / 576
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011488 - orderedMultiMap - uses LinkedHashMap
#1022119 - identityMultiMap - uses IdentityHashMap
#1026154 - treeMultiSetMap - uses TreeMap
#1032522 - descTreeMultiMap - uses descending TreeMap