Libraryless. Click here for Pure Java version (2508L/16K).
1 | static <A, B> Map<A, B> freshVarsMap(Cl<A> entities, IF0<B> varMaker) { |
2 | new LinkedHashMap<A, B> map; |
3 | fOr (A e : entities) |
4 | map.put(e, varMaker!); |
5 | ret map; |
6 | } |
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: | 208 / 295 |
Referenced in: | [show references] |