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

4
LINES

< > BotCompany Repo | #1025530 - jreplace_check - jreplace with quick-check for existence of token

JavaX fragment (include)

sbool mapMethodLike jreplace_check(S checkToken, LS tok, S in, S out) {
  if (isIndexedList(tok) && !tok.contains(checkToken)) false;
  ret jreplace(tok, in, out);
}

Author comment

Began life as a copy of #1002133

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1025530
Snippet name: jreplace_check - jreplace with quick-check for existence of token
Eternal ID of this version: #1025530/1
Text MD5: 435e038de1c3a3cb2e5e2181b02209d7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-01 21:19:20
Source code size: 168 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 5 / 10
Referenced in: [show references]

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