1 | static bool containsAnyOf(S s, Collection<S> strings) { |
2 | if (s == null) false; |
3 | for (S x : unnull(strings)) |
4 | if (s.contains(x)) true; |
5 | false; |
6 | } |
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: | 513 / 545 |
Version history: | 1 change(s) |
Referenced in: | [show references] |