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

3
LINES

< > BotCompany Repo | #1034460 // tokSubList - proper CNC sublist

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

Libraryless. Click here for Pure Java version (5117L/28K).

1  
static <A> L<A> tokSubList(L<A> l, IntRange r) {
2  
  ret subList(l, r.start & ~1, r.end | 1);
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034460
Snippet name: tokSubList - proper CNC sublist
Eternal ID of this version: #1034460/2
Text MD5: 40c739068edc0b40ddf152c8325ebad5
Transpilation MD5: eec4e7224a61f6d37fe995b22d648a8c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-08 01:20:18
Source code size: 95 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 208
Version history: 1 change(s)
Referenced in: [show references]