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

3
LINES

< > BotCompany Repo | #1034463 // cncCorrect - proper CNC sublist

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

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

1  
static IntRange cncCorrect(IntRange r) {
2  
  ret r == null ?: IntRange(r.start & ~1, r.end | 1);
3  
}

Author comment

Began life as a copy of #1034460

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034463
Snippet name: cncCorrect - proper CNC sublist
Eternal ID of this version: #1034463/1
Text MD5: dd01f3ea769a48acfd178af75fed8932
Transpilation MD5: 93fed7d402dd663e77e5d589c1838d80
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:27:25
Source code size: 98 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 117 / 170
Referenced in: [show references]