Libraryless. Click here for Pure Java version (2338L/15K).
static int substringsScoreIC(S s, Cl<S> l) { int n = 0; fOr (S x : l) if (cic(s, x)) ++n; ret n; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027490 |
Snippet name: | substringsScoreIC - how many elements of a list are substrings of a string? |
Eternal ID of this version: | #1027490/1 |
Text MD5: | 82c6bfd37669eda1361ff29c546ab03c |
Transpilation MD5: | b7566dd5b9184d5ab820ce855ed4c32f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-22 15:14:01 |
Source code size: | 120 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 183 / 264 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1027514 - substringsScoreIC_optimized1 - how many elements of a list are substrings of a string? [dev.] |