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

5
LINES

< > BotCompany Repo | #1028463 // multiSetMap_outerDescTreeMap_innerLinkedHashSet - good for probability lists

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

Libraryless. Click here for Pure Java version (2790L/17K).

static <A, B> MultiSetMap<A, B> multiSetMap_outerDescTreeMap_innerLinkedHashSet() {
  ret new MultiSetMap<A, B>(descTreeMap()) {
    Set<B> _makeEmptySet() { ret new LinkedHashSet; }
  };
}

Author comment

Began life as a copy of #1028193

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028463
Snippet name: multiSetMap_outerDescTreeMap_innerLinkedHashSet - good for probability lists
Eternal ID of this version: #1028463/1
Text MD5: a716cf80deae9fe2c89eb08ba23e1f8d
Transpilation MD5: 5a29bf1e4e47778ad0dc7e63ba31135d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-20 22:04:45
Source code size: 193 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 238 / 351
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1028507 - multiSetMap_innerCompactHashSet_outerRevTreeMap
#1031506 - multiSetMap_outerDescTreeMap_innerBetterLinkedHashSet - use compact... instead