1 | static <A> IterableIterator<A> iteratorRepF(final int n, final F0<A> f) { |
2 | ret iteratorRepF(n, (O) f); |
3 | } |
4 | |
5 | static <A> IterableIterator<A> iteratorRepF(final int n, fO f) { |
6 | ret iteratorFF(new F0 { |
7 | int i = n; |
8 | |
9 | O get() { |
10 | ret i-- > 0 ? callF(f) : endMarker(); |
11 | } |
12 | }); |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013592 |
Snippet name: | iteratorRepF |
Eternal ID of this version: | #1013592/3 |
Text MD5: | fff26a56b0da50d00866844d86077b1c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-11 13:13:37 |
Source code size: | 301 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 430 / 434 |
Version history: | 2 change(s) |
Referenced in: | [show references] |