Libraryless. Click here for Pure Java version (57L/1K).
static ItIt<Int> countDownIterator_exclusive(int a, int b) { ret new ItIt<Int> { int i = a; public bool hasNext() { ret i > b; } public Int next() { ret i--; } }; }
Began life as a copy of #1018110
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028151 |
Snippet name: | countDownIterator_exclusive - count from a down to b (exclusively) |
Eternal ID of this version: | #1028151/1 |
Text MD5: | baa7ec493a07acb14361bdf1fd119e74 |
Transpilation MD5: | edc441230e7674e24129a8d649b440e5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-23 17:01:03 |
Source code size: | 192 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 216 / 306 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028152 - countBackwardsTo1 - count from a down to 1 (inclusively) |