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

7
LINES

< > BotCompany Repo | #1029485 // intRangesOverlapNempty

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

Transpiled version (2638L) is out of date.

1  
sbool intRangesOverlapNempty(IntRange a, IntRange b) {
2  
  ret nempty(intersectIntRanges(a, b));
3  
}
4  
5  
sbool intRangesOverlapNempty(int a1, int a2, int b1, int b2) {
6  
  ret intRangesOverlapNempty(intRange(a1, a2), intRange(b1, b2));
7  
}

Author comment

Began life as a copy of #1029483

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1029485
Snippet name: intRangesOverlapNempty
Eternal ID of this version: #1029485/4
Text MD5: 8246b27f1b0b2fc6644dc988a2ad547e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-27 05:16:10
Source code size: 234 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 198 / 287
Version history: 3 change(s)
Referenced in: [show references]