Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1017966 // stringsContaining

JavaX fragment (include)

static L<S> stringsContaining(Collection<S> l, fS x) {
  new LS out;
  for (S s : unnull(l))
    if (contains(s, x))
      out.add(s);
  ret out;
}

static L<S> stringsContaining(S x, Collection<S> l) {
  ret stringsContaining(l, x);
}

Author comment

Began life as a copy of #1014373

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017966
Snippet name: stringsContaining
Eternal ID of this version: #1017966/1
Text MD5: 05bfab22b9b66301ea4d1430ee3cb09e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-23 15:16:29
Source code size: 245 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 360 / 397
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018902 - containingIC