1 | static <A> L<Int> indicesOfCodeTokensContainedInMap(LS tok, Map<S, A> map) { |
2 | new L<Int> l; |
3 | if (nempty(map)) |
4 | for (int i = 1; i < l(tok); i += 2) |
5 | if (map.containsKey(tok.get(i))) |
6 | l.add(i); |
7 | ret l; |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023449 |
Snippet name: | indicesOfCodeTokensContainedInMap |
Eternal ID of this version: | #1023449/1 |
Text MD5: | b76f0f166a0ac66a3aa9e75d594e03ba |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-22 20:26:53 |
Source code size: | 226 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 229 / 274 |
Referenced in: | [show references] |