1 | static int jfindOneOf_cond(L<S> tok, O condition, S... patterns) { |
2 | for (S in : patterns) { |
3 | int i = jfind(tok, in, condition); |
4 | if (i >= 0) ret i; |
5 | } |
6 | ret -1; |
7 | } |
Began life as a copy of #1014855
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016480 |
Snippet name: | jfindOneOf_cond |
Eternal ID of this version: | #1016480/1 |
Text MD5: | a57e7783be09a865c29fd6c086495cd5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-19 21:01:59 |
Source code size: | 176 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 365 / 443 |
Referenced in: | [show references] |