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

5
LINES

< > BotCompany Repo | #1003309 // swicAny - tests if string starts with any of a number of prefixes (ignoring case)

JavaX fragment (include)

static bool swicAny(S a, Collection<S> l) {
  if (l != null) for (S b : l)
    if (swic(a, b)) true;
  false;
}

Author comment

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: 582 / 902
Version history: 1 change(s)
Referenced in: [show references]