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

6
LINES

< > BotCompany Repo | #1028888 // freshVarsMap

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

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

static <A, B> Map<A, B> freshVarsMap(Cl<A> entities, IF0<B> varMaker) {
  new LinkedHashMap<A, B> map;
  fOr (A e : entities)
    map.put(e, varMaker!);
  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: #1028888
Snippet name: freshVarsMap
Eternal ID of this version: #1028888/1
Text MD5: bb630eaefdceb9382e740d2820498c1a
Transpilation MD5: 6af4591a981818f28a7b66c21032cf91
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-10 19:39:41
Source code size: 170 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 207 / 293
Referenced in: [show references]