Libraryless. Click here for Pure Java version (4474L/25K).
1 | static MultiMap<S, Int> codeTokenIndex(LS tok) {
|
2 | new MultiMap<S, Int> index; |
3 | for (int i = 1; i < l(tok); i += 2) |
4 | index.put(tok.get(i), i); |
5 | ret index; |
6 | } |
Began life as a copy of #1033113
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033114 |
| Snippet name: | codeTokenIndex |
| Eternal ID of this version: | #1033114/1 |
| Text MD5: | b5734739193cbe407c946e8ac25cd8a9 |
| Transpilation MD5: | fe8cefd02badc030bd0262d8772d976f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-15 15:01:31 |
| Source code size: | 166 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 374 / 482 |
| Referenced in: | [show references] |