static LinkedHashMap collectOrderedMap(Collection l, S keyField, S valueField) { new LinkedHashMap map; if (l != null) for (O o : l) mapPut(map, get(o, keyField), get(o, valueField)); ret map; }
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: | #1009243 |
Snippet name: | collectOrderedMap - does not collect null keys or values |
Eternal ID of this version: | #1009243/3 |
Text MD5: | 9386c42be5a3e03e0c64612e3a263f02 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-19 18:17:22 |
Source code size: | 209 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 486 / 540 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1010428 - c_collectOrderedMap - does not collect null keys or values |