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

8
LINES

< > BotCompany Repo | #1024894 // jfind_check - jfind with quick-check for existence of key token in indexed list

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Transpiled version (2662L) is out of date.

static int mapMethodLike jfind_check(S checkToken, L<S> tok, S in) {
  ret jfind_check(checkToken, tok, in, null);
}

static int mapMethodLike jfind_check(S checkToken, L<S> tok, S in, O condition) {
  if (isIndexedList(tok) && !tok.contains(checkToken)) ret -1;
  ret jfind(tok, in, condition);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024894
Snippet name: jfind_check - jfind with quick-check for existence of key token in indexed list
Eternal ID of this version: #1024894/6
Text MD5: 249722d77facc8650e4fcd9ca48e04cc
Author: stefan
Category: javax / chess ocr
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-01 21:18:41
Source code size: 304 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 1143
Version history: 5 change(s)
Referenced in: [show references]