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).

1  
static L<Int> countIteratorToList(int a default 0, int b) {
2  
  ret asList(countIterator(a, b);
3  
}
4  
5  
6  
7  
8  
9  
static <A> L<A> countIteratorToList(int a default 0, int b, IF1<Int, A> f) {
10  
  ret asList(countIterator(a, b, f);
11  
}
12  
13  
14  
15  
static L<Int> countIteratorToList(int a, int b, int step) {
16  
  ret asList(countIterator(a, b, step);
17  
}
18  
19  
20  
21  
static <A> L<A> countIteratorToList(double a, double b, double step, IF1<Double, A> f) {
22  
  ret asList(countIterator(a, b, step, f);
23  
}
24  
25  
26  
27  
static <A> L<Double> countIteratorToList(double a, double b, double step) {
28  
  ret asList(countIterator(a, b, step);
29  
}
30  
31  
32  
33  
static <A> L<A> lambdaMapLike countIteratorToList(IF1<Double, A> f, double a, double b, double step) {
34  
  ret asList(countIterator(f, a, b, step);
35  
}
36  
37  
static <A> L<A> lambdaMapLike countIteratorToList(IF1<Int, A> f, int a default 0, int b) {
38  
  ret asList(countIterator(f, a, b));
39  
}

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: 170 / 259
Version history: 6 change(s)
Referenced in: [show references]