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

4
LINES

< > BotCompany Repo | #1023900 // intRange_last - IntRange representing a list's last element (e.g. for subList)

JavaX fragment (include)

static IntRange intRange_last(L l) {
  int n = l(l);
  ret intRange(n-1, n);
}

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: #1023900
Snippet name: intRange_last - IntRange representing a list's last element (e.g. for subList)
Eternal ID of this version: #1023900/3
Text MD5: 5bc0d2936460908df0255e8c890c9e80
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-11 22:45:27
Source code size: 81 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 240 / 284
Version history: 2 change(s)
Referenced in: [show references]