static L mapAndRecordToMap_reversed(Map recordMap, Iterable l, O f) { ret mapAndRecordToMap_reversed(recordMap, f, l); } static L mapAndRecordToMap_reversed(Map recordMap, O f, Iterable l) { L x = emptyList(l); if (l != null) for (O o : l) { O b = callF(f, o); if (recordMap != null) recordMap.put(b, o); x.add(b); } ret x; }
Began life as a copy of #1015378
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015384 |
Snippet name: | mapAndRecordToMap_reversed |
Eternal ID of this version: | #1015384/1 |
Text MD5: | f93736d6a49f3e4d218b78fe45a54d0f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-13 15:00:20 |
Source code size: | 360 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 320 / 359 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |