Libraryless. Click here for Pure Java version (2463L/16K).
static Map mapToValues_linkedHashMap(Iterable l, O f) { ret mapToValues_linkedHashMap(f, l); } static Map mapLike mapToValues_linkedHashMap(O f, Iterable l) { new LinkedHashMap map; if (l != null) for (O o : l) map.put(o, callF(f, o)); ret map; } static <A, B> Map<A, B> mapToValues_linkedHashMap(Iterable<A> l, IF1<A, B> f) { ret mapToValues_linkedHashMap(f, l); }
Began life as a copy of #1024573
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: | #1028708 |
Snippet name: | mapToValues_linkedHashMap |
Eternal ID of this version: | #1028708/1 |
Text MD5: | f51f45bd06d99f78ea7f91e8a89dc98b |
Transpilation MD5: | 452cf884d8f4af702ea1c915e41b485a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-05 23:05:50 |
Source code size: | 394 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 167 / 239 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |