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

3
LINES

< > BotCompany Repo | #1028782 // listToStringCountKeys

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

Libraryless. Click here for Pure Java version (2465L/16K).

1  
static <A> Map<S, A> listToStringCountKeys(L<A> l) {
2  
  ret listToMapWithKeyMaker(l, i -> str(i+1));
3  
}

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: #1028782
Snippet name: listToStringCountKeys
Eternal ID of this version: #1028782/2
Text MD5: e72c8c6c8d9404b7d266de3cf389e13c
Transpilation MD5: 8a6f2d4bfba9f0c5e12bc8066e5a5967
Author: stefan
Category: javax / linecomp
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-08 21:46:01
Source code size: 103 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 200 / 277
Version history: 1 change(s)
Referenced in: [show references]