1 | static LinkedHashMap collectOrderedMap(Collection l, S keyField, S valueField) { |
2 | new LinkedHashMap map; |
3 | if (l != null) for (O o : l) |
4 | mapPut(map, get(o, keyField), get(o, valueField)); |
5 | ret map; |
6 | } |
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: | 487 / 542 |
Version history: | 2 change(s) |
Referenced in: | [show references] |