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

39
LINES

< > BotCompany Repo | #1032415 // countIteratorToList - asList(countIterator(...))

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

Libraryless. Click here for Pure Java version (3971L/22K).

static L<Int> countIteratorToList(int a default 0, int b) {
  ret asList(countIterator(a, b);
}





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



static L<Int> countIteratorToList(int a, int b, int step) {
  ret asList(countIterator(a, b, step);
}



static <A> L<A> countIteratorToList(double a, double b, double step, IF1<Double, A> f) {
  ret asList(countIterator(a, b, step, f);
}



static <A> L<Double> countIteratorToList(double a, double b, double step) {
  ret asList(countIterator(a, b, step);
}



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

static <A> L<A> lambdaMapLike countIteratorToList(IF1<Int, A> f, int a default 0, int b) {
  ret asList(countIterator(f, a, b));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032415
Snippet name: countIteratorToList - asList(countIterator(...))
Eternal ID of this version: #1032415/7
Text MD5: 2ff55944ef7f38a02be29ef86210e817
Transpilation MD5: 86fd79d5b3bfb7e55bcc8872230d8784
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-15 23:46:54
Source code size: 900 bytes / 39 lines
Pitched / IR pitched: No / No
Views / Downloads: 169 / 257
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032490 - countIteratorToList_inclusive - asList(countIterator_inclusive(...))