1 | static bool swicAny(S a, Collection<S> l) { |
2 | if (l != null) for (S b : l) |
3 | if (swic(a, b)) true; |
4 | false; |
5 | } |
Began life as a copy of #1002835
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003309 |
Snippet name: | swicAny - tests if string starts with any of a number of prefixes (ignoring case) |
Eternal ID of this version: | #1003309/2 |
Text MD5: | 63dbbb042a5b0b5e8fcb7b0ab12a43b0 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-01 18:55:25 |
Source code size: | 115 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 678 / 1002 |
Version history: | 1 change(s) |
Referenced in: | [show references] |