static LinkedHashMap listParamsToMap(L params) { new LinkedHashMap map; for (int i = 0; i+1 < l(params); i += 2) mapPut(map, params.get(i), params.get(i+1)); ret map; }
Began life as a copy of #1009709
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020475 |
Snippet name: | listParamsToMap - list to map (key, value, key, value, ...) |
Eternal ID of this version: | #1020475/2 |
Text MD5: | 29d802d1489cec80ae3bcf559e7e91d3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-23 19:30:46 |
Source code size: | 183 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 321 / 352 |
Version history: | 1 change(s) |
Referenced in: | [show references] |