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

8
LINES

< > BotCompany Repo | #1022736 // tokReplace

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

Libraryless. Click here for Pure Java version (3812L/22K).

svoid tokReplace(LS tok, int i, S t) {
  put(tok, i, t);
}

svoid tokReplace(LS tok, int i, int j, S s) {
  clearAllTokens(tok, i+1, j);
  tok.set(i, s);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022736
Snippet name: tokReplace
Eternal ID of this version: #1022736/3
Text MD5: 9d2a2755841691958e05dcaead9dc721
Transpilation MD5: 43c8f8fd6c5f45da95aea5cd64c0b2fd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 21:14:01
Source code size: 162 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 205 / 260
Version history: 2 change(s)
Referenced in: [show references]