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


< > BotCompany Repo | #1026590 - countIterator_inclusive - count from a to b (inclusively)

JavaX fragment (include)

static ItIt<Int> countIterator_inclusive(final int a, final int b) {
  ret countIterator_exclusive(a, b+1);

static <A> ItIt<A> countIterator_inclusive(int a, int b, IF1<Int, A> f) {
  ret countIterator_exclusive(a, b+1, f);

Author comment

Began life as a copy of #1018109

download  show line numbers  debug dex   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026590
Snippet name: countIterator_inclusive - count from a to b (inclusively)
Eternal ID of this version: #1026590/3
Text MD5: 4b442f27389aa83dfc72ddfa41136c4f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-27 18:36:08
Source code size: 234 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 24 / 34
Version history: 2 change(s)
Referenced in: [show references]

Formerly at &