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

6
LINES

< > BotCompany Repo | #1037252 // indexOfNTokenContainingIC

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10783L/60K).

static int indexOfNTokenContainingIC(LS tok, S pattern) {
  for (int i = 0; i < l(tok); i += 2)
    if (cic(tok.get(i), pattern))
      ret i;
  ret -1;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1037252
Snippet name: indexOfNTokenContainingIC
Eternal ID of this version: #1037252/1
Text MD5: 43649958b1d40b72ac37bad695f2076b
Transpilation MD5: f3ea22f69b8142dd16e63a79d94c924d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-09-19 22:29:03
Source code size: 159 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 83 / 122
Referenced in: [show references]