1 | static HashMap<S> mapFromTokens(S s) { |
2 | L<S> tok = javaTok(s); |
3 | new HashMap map; |
4 | for (int i = 1; i+2 < l(tok); i += 4) |
5 | map.put(tok.get(i), tok.get(i+2)); |
6 | ret map; |
7 | } |
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: | #1015547 |
Snippet name: | mapFromTokens |
Eternal ID of this version: | #1015547/1 |
Text MD5: | 01d5537bfc2de1e5ba139c8f10c88e8c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-17 12:44:22 |
Source code size: | 180 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 429 / 464 |
Referenced in: | [show references] |