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

3
LINES

< > BotCompany Repo | #1030446 - anyIntRangeContains - true if any range contains the value

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

Libraryless. Click here for Pure Java version (2630L/17K).

sbool anyIntRangeContains(Iterable<IntRange> ranges, int i) {
  ret any(ranges, r -> intRangeContains(r, i));
}

Author comment

Began life as a copy of #1024540

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1030446
Snippet name: anyIntRangeContains - true if any range contains the value
Eternal ID of this version: #1030446/5
Text MD5: ae7beaa03da470884dd2cc0d12c01880
Transpilation MD5: 6797f5325dc045bbc236f8868a5b7221
Author: stefan
Category: javax / math
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-17 20:26:47
Source code size: 113 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 30 / 51
Version history: 4 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1030446 & http://1030446.tinybrain.de