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   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

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: 135 / 160
Referenced in: [show references]

Formerly at http://tinybrain.de/1016480 & http://1016480.tinybrain.de