Libraryless. Click here for Pure Java version (1897L/12K).
static SS parseCSSParameter(S s) { SS map = new LinkedHashMap; for (S x : trimAll(splitAt(s, ";"))) { LS y = trimAll(splitAtColon(x)); if (l(y) == 2) map.put(first(y), second(y)); } ret map; }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024482 |
| Snippet name: | parseCSSParameter |
| Eternal ID of this version: | #1024482/4 |
| Text MD5: | cff92c326799225fa1b16c5145b8d852 |
| Transpilation MD5: | 987b21a5e4652333a3d2d47674e2c60d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-13 22:33:18 |
| Source code size: | 222 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 579 / 643 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |