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).

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

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