1 | static S findOneOfTheWords(S s, S... words) { |
2 | L<S> tok = nlTok(s); |
3 | for (int i = 1; i < l(tok); i += 2) |
4 | if (eqicOneOf(tok.get(i), words)) |
5 | ret tok.get(i); |
6 | null; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003806 |
Snippet name: | findOneOfTheWords |
Eternal ID of this version: | #1003806/1 |
Text MD5: | 15ea97c654ef46d5abcc4d90a2f22af0 |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-27 19:21:11 |
Source code size: | 184 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 630 / 687 |
Referenced in: | [show references] |