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

7
LINES

< > BotCompany Repo | #1029229 - multiSetMap_innerCustomCompactTreeSet_outerTreeMap

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

Libraryless. Click here for Pure Java version (3270L/20K).

static <A, B> MultiSetMap<A, B> multiSetMap_innerCustomCompactTreeSet_outerTreeMap(Comparator<B> innerComparator) {
  MultiSetMap<A, B> m = new MultiSetMap<A, B>() {
    Set<B> _makeEmptySet() { ret new CompactTreeSet(innerComparator); }
  };
  m.data = new TreeMap;
  ret m;
}

Author comment

Began life as a copy of #1029168

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1029229
Snippet name: multiSetMap_innerCustomCompactTreeSet_outerTreeMap
Eternal ID of this version: #1029229/3
Text MD5: f1b5b510d48c781fbe4ad7794f7c8931
Transpilation MD5: bda66526f86f8fa8d6ed6a2f747be670
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-26 14:21:52
Source code size: 283 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 28 / 58
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1029229 & http://1029229.tinybrain.de