static int indexOfWhere(L l, O... params) { for i over l: if (checkFields(l.get(i), params)) ret i; ret -1; }
Began life as a copy of #1002601
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: | #1020863 |
| Snippet name: | indexOfWhere - index of first object that matches fields |
| Eternal ID of this version: | #1020863/2 |
| Text MD5: | 8de3e297c638d72ea85f3ed8bbaaa8b9 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-06 12:36:47 |
| Source code size: | 128 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 531 / 599 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |