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)

static L<IntRange> intRangesLongerThan(final int threshold, L<IntRange> l) {
  ret [IntRange r : l | r.length() >= threshold];
}

static L<IntRange> intRangesLongerThan(L<IntRange> l, int threshold) {
  ret intRangesLongerThan(threshold, l);
}

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: 343 / 383
Version history: 2 change(s)
Referenced in: [show references]