sbool containsNL(Collection<S> l, S pat) { if (l == null) false; if (l.contains(pat)) true; for (S s : l) if (match(pat, s)) true; false; }
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: | #1017837 |
Snippet name: | containsNL - uses argument as pattern; checks contains() first |
Eternal ID of this version: | #1017837/3 |
Text MD5: | e582cbcdfa75ba2bbe68e9ad39f0e315 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-16 14:52:28 |
Source code size: | 152 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 337 / 370 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |