Warning: session_start(): open(/var/lib/php/sessions/sess_4i1eo6qfuj9tk4nub3sk7i9hpd, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
tokSubList - proper CNC sublist [1034460]

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: 661 / 867
Version history: 1 change(s)
Referenced in: [show references]