Libraryless. Click here for Pure Java version (3208L/18K).
1 | static <A> void forEach_pcall(Iterable<A> l, IVF1<A> f) { |
2 | if (f != null && l != null) for (A a : l) |
3 | pcallF(f, a); |
4 | } |
5 | |
6 | static <A> void lambdaMapLike forEach_pcall(IVF1<A> f, Iterable<A> l) { |
7 | forEach_pcall(l, f); |
8 | } |
9 | |
10 | static <A> void forEach_pcall(A[] l, IVF1<A> f) { |
11 | if (f != null && l != null) for (A a : l) |
12 | pcallF(f, a); |
13 | } |
Began life as a copy of #1022895
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032108 |
Snippet name: | forEach_pcall |
Eternal ID of this version: | #1032108/1 |
Text MD5: | 7e6a89e8ea942d929a494ee4ee86ff61 |
Transpilation MD5: | fbe2dcdfd5738440f425d38ee18e7443 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-13 22:45:50 |
Source code size: | 346 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 132 / 202 |
Referenced in: | [show references] |