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

9
LINES

< > BotCompany Repo | #1003369 - replaceTokens (no reTok)

JavaX fragment (include)

static void replaceTokens(L<S> tok, int i, int j, S s) {
  clearAllTokens(tok, i+1, j);
  tok.set(i, s);
}

static void replaceTokens(L<S> tok, S s) {
  clearAllTokens(tok, 1, l(tok));
  tok.set(0, s);
}

Author comment

Began life as a copy of #1002055

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1003369
Snippet name: replaceTokens (no reTok)
Eternal ID of this version: #1003369/4
Text MD5: 1d232f5574932484812c06c164a627a3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-01 16:49:40
Source code size: 211 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 361 / 986
Version history: 3 change(s)
Referenced in: [show references]

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