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

15
LINES

< > BotCompany Repo | #1030411 // multiSetMap_innerCustomIntPairTreeSet_outerRevTreeMap

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

Libraryless. Click here for Pure Java version (3671L/22K).

1  
static <A> MultiSetMap<A, IntPair> multiSetMap_innerCustomIntPairTreeSet_outerRevTreeMap(Comparator<IntPair> innerComparator) {
2  
  MultiSetMap<A, IntPair> m = new MultiSetMap<A, IntPair>() {
3  
    Set<IntPair> _makeEmptySet() { ret intPairTreeSetWithComparator(innerComparator); }
4  
  };
5  
  m.data = revTreeMap();
6  
  ret m;
7  
}
8  
9  
static <A> MultiSetMap<A, IntPair> multiSetMap_innerCustomIntPairTreeSet_outerRevTreeMap(LongComparator innerComparator) {
10  
  MultiSetMap<A, IntPair> m = new MultiSetMap<A, IntPair>() {
11  
    Set<IntPair> _makeEmptySet() { ret intPairTreeSetWithComparator(innerComparator); }
12  
  };
13  
  m.data = revTreeMap();
14  
  ret m;
15  
}

Author comment

Began life as a copy of #1029171

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030411
Snippet name: multiSetMap_innerCustomIntPairTreeSet_outerRevTreeMap
Eternal ID of this version: #1030411/5
Text MD5: 6edbf8026fad3d6ccd4a488cbd67e0c1
Transpilation MD5: bb5241d2a16b30ac4a3a957f3a6844ef
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-13 18:02:11
Source code size: 647 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 170 / 253
Version history: 4 change(s)
Referenced in: [show references]