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

7
LINES

< > BotCompany Repo | #1018624 // intRangesLongerThan (or equal)

JavaX fragment (include)

1  
static L<IntRange> intRangesLongerThan(final int threshold, L<IntRange> l) {
2  
  ret [IntRange r : l | r.length() >= threshold];
3  
}
4  
5  
static L<IntRange> intRangesLongerThan(L<IntRange> l, int threshold) {
6  
  ret intRangesLongerThan(threshold, l);
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018624
Snippet name: intRangesLongerThan (or equal)
Eternal ID of this version: #1018624/3
Text MD5: f76ec682c6f72be33221ca74d0aab130
Author: stefan
Category: javax / math
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-13 18:36:00
Source code size: 251 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 402 / 444
Version history: 2 change(s)
Referenced in: [show references]