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

7
LINES

< > BotCompany Repo | #1016480 // jfindOneOf_cond

JavaX fragment (include)

static int jfindOneOf_cond(L<S> tok, O condition, S... patterns) {
  for (S in : patterns) {
    int i = jfind(tok, in, condition);
    if (i >= 0) ret i;
  }
  ret -1;
}

Author comment

Began life as a copy of #1014855

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016480
Snippet name: jfindOneOf_cond
Eternal ID of this version: #1016480/1
Text MD5: a57e7783be09a865c29fd6c086495cd5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-19 21:01:59
Source code size: 176 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 360 / 437
Referenced in: [show references]