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

33
LINES

< > BotCompany Repo | #1030031 // countIterator - synonym of countIterator_exclusive and countIterator_exclusive_step

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5213L/28K).

static ItIt<Int> countIterator(int a default 0, int b) {
  ret countIterator_exclusive(a, b);
}



static <A> ItIt<A> countIterator(int a default 0, int b, IF1<Int, A> f) {
  ret countIterator_exclusive(a, b, f);
}

static ItIt<Int> countIterator(int a, int b, int step) {
  ret countIterator_exclusive_step(a, b, step);
}

static <A> ItIt<A> countIterator(double a, double b, double step, IF1<Double, A> f) {
  ret countIterator_exclusive_step(a, b, step, f);
}

static <A> ItIt<Double> countIterator(double a, double b, double step) {
  ret countIterator_exclusive_step(a, b, step);
}

static <A> ItIt<A> lambdaMapLike countIterator(IF1<Double, A> f, double a, double b, double step) {
  ret countIterator(a, b, step, f);
}

static <A> ItIt<A> countIterator(IF1<Int, A> f, int a default 0, int b) {
  ret countIterator_exclusive(a, b, f);
}

static <A> ItIt<Int> countIterator(L l) {
  ret countIterator(l(l));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030031
Snippet name: countIterator - synonym of countIterator_exclusive and countIterator_exclusive_step
Eternal ID of this version: #1030031/14
Text MD5: b85aeaa236e669db559011ccc1d0dea2
Transpilation MD5: d03581a5766b15ed1036cabb325e7f0f
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-17 20:00:12
Source code size: 948 bytes / 33 lines
Pitched / IR pitched: No / No
Views / Downloads: 263 / 411
Version history: 13 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1033172 - countIteratorToObjectArray