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

6
LINES

< > BotCompany Repo | #1030132 - tok_subListWithoutBorderNTokens

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

Libraryless. Click here for Pure Java version (2532L/16K).

static LS tok_subListWithoutBorderNTokens(LS tok, int i, int j) {
  LS tok2 = cloneSubList(tok, i & (~1), j | 1);
  tok2.set(0, "");
  tok2.set(l(tok2)-1, "");
  ret tok2;
}

download  show line numbers  debug dex   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1030132
Snippet name: tok_subListWithoutBorderNTokens
Eternal ID of this version: #1030132/1
Text MD5: 2e56044b365d0df8a980b384bf8e4c58
Transpilation MD5: 663021fba8f7c4a80bdee0fddfbe580e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-11 09:59:00
Source code size: 178 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 23 / 37
Referenced in: [show references]

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