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

3
LINES

< > BotCompany Repo | #1023810 // intRangeExcludeLast

JavaX fragment (include)

static IntRange intRangeExcludeLast(IntRange r) {
  ret r == null ? null : intRange(r.start, r.end-1);
}

Author comment

Began life as a copy of #1019159

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023810
Snippet name: intRangeExcludeLast
Eternal ID of this version: #1023810/1
Text MD5: 017be175f38c9842c755933affd2969b
Author: stefan
Category: javax / math
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-09 12:57:16
Source code size: 106 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 100 / 127
Referenced in: [show references]