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

6
LINES

< > BotCompany Repo | #1028100 // autoTreeMap

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

Libraryless. Click here for Pure Java version (2751L/18K).

// note: auto-magic type parameter
static <A, B> AutoMap<A, B> autoTreeMap(IF0<B> f) {
  AutoMap<A, B> map = new AutoMap<A, B>(f);
  map.map = new TreeMap;
  ret map;
}

Author comment

Began life as a copy of #1024757

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: #1028100
Snippet name: autoTreeMap
Eternal ID of this version: #1028100/2
Text MD5: 6792fb979902bd1f6abcda4301fed566
Transpilation MD5: 02ff9d03c7d78af69396eeec1782378f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-23 18:29:57
Source code size: 173 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 268 / 364
Version history: 1 change(s)
Referenced in: [show references]