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

5
LINES

< > BotCompany Repo | #1027907 // litmap_keysLikeValues

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

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

static <A> Map<A> litmap_keysLikeValues(A... l) {
  new Map<A> map;
  fOr (A a : l) map.put(a, a);
  ret map;
}

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: #1027907
Snippet name: litmap_keysLikeValues
Eternal ID of this version: #1027907/1
Text MD5: ff4a75aa1c7e50f85e18a4b46aaceaa6
Transpilation MD5: ad621124c7671dc617bd160ea160b0a2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-16 18:02:28
Source code size: 115 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 155 / 236
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)