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

3
LINES

< > BotCompany Repo | #1035637 // shiftIntRanges - shift list of IntRanges to the right

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

Libraryless. Click here for Pure Java version (9741L/55K).

static L<IntRange> shiftIntRanges(int shift, Iterable<IntRange> l) {
  ret map(l, r -> shiftIntRange(shift, r));
}

Author comment

Began life as a copy of #1008668

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035637
Snippet name: shiftIntRanges - shift list of IntRanges to the right
Eternal ID of this version: #1035637/1
Text MD5: caba3474a18f6e9e048988a160885509
Transpilation MD5: 745845e96ba290f739ab4e6582be9f02
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-27 04:40:04
Source code size: 118 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 118 / 165
Referenced in: [show references]