1 | static SS parseColonProperties(S text) { |
2 | ret parseColonProperties(text, new LinkedHashMap); |
3 | } |
4 | |
5 | static SS parseColonProperties(S text, SS map) { |
6 | for (S s : tlft(text)) { |
7 | int i = indexOf(s, ':'); |
8 | if (i > 0) |
9 | map.put(trimSubstring(s, 0, i), trimSubstring(s, i+1)); |
10 | } |
11 | ret map; |
12 | } |
Began life as a copy of #1020409
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: | #1020412 |
Snippet name: | parseColonProperties |
Eternal ID of this version: | #1020412/2 |
Text MD5: | ea28b67ff56e1a72c440c280412c2b2d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-04 01:39:39 |
Source code size: | 306 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 362 / 402 |
Version history: | 1 change(s) |
Referenced in: | [show references] |