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

6
LINES

< > BotCompany Repo | #1006280 // containsAnyOf - special string method

JavaX fragment (include)

static bool containsAnyOf(S s, Collection<S> strings) {
  if (s == null) false;
  for (S x : unnull(strings))
    if (s.contains(x)) true;
  false;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006280
Snippet name: containsAnyOf - special string method
Eternal ID of this version: #1006280/2
Text MD5: 986bbe3b6dc718f88a0f690b7d110e9c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-04 13:45:38
Source code size: 154 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 459 / 484
Version history: 1 change(s)
Referenced in: [show references]