static MultiSet<S> collectSuffixesAfterTokenIC(Collection<S> l, S token) { new MultiSet<S> suffixes; for (S s : l) { L<S> tok = javaTok(s); int i = indexOfIC(tok, token); if (i < 0) continue; suffixes.add(joinSubList(tok, i+2)); } ret suffixes; }
Began life as a copy of #1013549
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: | #1013550 |
Snippet name: | collectSuffixesAfterTokenIC - token is IC, multiset is not |
Eternal ID of this version: | #1013550/3 |
Text MD5: | 53296737d7012bcca9272edcbc725237 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-09 10:59:38 |
Source code size: | 279 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 350 / 376 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |