1 | static int indexOfVerb(L<S> l) { |
2 | Set<S> verbs = knownVerbs(); |
3 | for (int i = 0; i < l(l); i++) |
4 | if (contains(verbs, lower(l.get(i)))) |
5 | ret i; |
6 | ret -1; |
7 | } |
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: | #1010405 |
Snippet name: | indexOfVerb |
Eternal ID of this version: | #1010405/3 |
Text MD5: | 7ac625a614a614b6f47e56c0ddceaec1 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-15 16:14:49 |
Source code size: | 169 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 570 / 563 |
Version history: | 2 change(s) |
Referenced in: | [show references] |