1 | static L mapAndRecordToMap_reversed(Map recordMap, Iterable l, O f) { |
2 | ret mapAndRecordToMap_reversed(recordMap, f, l); |
3 | } |
4 | |
5 | static L mapAndRecordToMap_reversed(Map recordMap, O f, Iterable l) { |
6 | L x = emptyList(l); |
7 | if (l != null) for (O o : l) { |
8 | O b = callF(f, o); |
9 | if (recordMap != null) recordMap.put(b, o); |
10 | x.add(b); |
11 | } |
12 | ret x; |
13 | } |
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: | 319 / 359 |
Referenced in: | [show references] |