static HashMap listToKeysWithCalculatedValue(Iterable l, O f) { ret listToKeysWithCalculatedValue(f, l); } static HashMap listToKeysWithCalculatedValue(O f, Iterable l) { new HashMap map; if (l != null) for (O o : l) map.put(o, callF(f, o)); ret map; }
Began life as a copy of #1018013
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018927 |
Snippet name: | listToKeysWithCalculatedValue |
Eternal ID of this version: | #1018927/1 |
Text MD5: | bdd477e46cf696d8c04deb851029183f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-16 01:29:01 |
Source code size: | 274 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 313 / 344 |
Referenced in: | [show references] |