1 | static int scoredSearch_score_eachTerm(S s, L<S> words) {
|
2 | int score = 0; |
3 | for (S word : words) {
|
4 | int wordScore = scoredSearch_score_single(s, word); |
5 | if (wordScore == 0) ret 0; |
6 | score += wordScore; |
7 | } |
8 | ret score; |
9 | } |
Began life as a copy of #1011593
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: | #1016998 |
| Snippet name: | scoredSearch_score_eachTerm |
| Eternal ID of this version: | #1016998/1 |
| Text MD5: | a1fac86db2c3dff3e958ed0dde4946d7 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-10 14:14:48 |
| Source code size: | 237 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 747 / 747 |
| Referenced in: | [show references] |