Libraryless. Click here for Pure Java version (2532L/16K).
1 | static LS tok_subListWithoutBorderNTokens(LS tok, int i, int j) { |
2 | LS tok2 = cloneSubList(tok, i & (~1), j | 1); |
3 | tok2.set(0, ""); |
4 | tok2.set(l(tok2)-1, ""); |
5 | ret tok2; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
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: | 239 / 338 |
Referenced in: | [show references] |