static LinkedHashMap c_collectOrderedMap(Collection l, S keyField, S valueField) { new LinkedHashMap map; if (l != null) for (O o : l) mapPut(map, cget(o, keyField), cget(o, valueField)); ret map; }
Began life as a copy of #1009243
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: | #1010428 |
Snippet name: | c_collectOrderedMap - does not collect null keys or values |
Eternal ID of this version: | #1010428/1 |
Text MD5: | 3b827c821f565730b8b9e6d7bdea2df8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-17 21:42:10 |
Source code size: | 213 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 487 / 506 |
Referenced in: | [show references] |