Libraryless. Click here for Pure Java version (3985L/22K).
1 | static ItIt<Int> countIterator_inclusive(final int a, final int b) { |
2 | ret countIterator_exclusive(a, b+1); |
3 | } |
4 | |
5 | static <A> ItIt<A> countIterator_inclusive(int a, int b, int step default 1, IF1<Int, A> f) { |
6 | ret countIterator_inclusive_step(a, b, 1, f); |
7 | } |
8 | |
9 | static <A> ItIt<A> countIterator_inclusive(double a, double b, double step, IF1<Double, A> f) { |
10 | ret countIterator_inclusive_step(a, b, step, f); |
11 | } |
Began life as a copy of #1018109
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026590 |
Snippet name: | countIterator_inclusive - count from a to b (inclusively) |
Eternal ID of this version: | #1026590/7 |
Text MD5: | d0621eacaba2722988e7bb2f6848b203 |
Transpilation MD5: | 3b3d206addd6781c857b7a28f617a3f4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-11 05:19:02 |
Source code size: | 416 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 272 / 360 |
Version history: | 6 change(s) |
Referenced in: | [show references] |