Libraryless. Click here for Pure Java version (3814L/22K).
1 | static <A> void forEachClone(Iterable<A> l, IVF1<A> f) {
|
2 | if (f != null && l != null) for (A a : cloneList(l)) |
3 | callF(f, a); |
4 | } |
5 | |
6 | static <A> void lambdaMapLike forEachClone(IVF1<A> f, Iterable<A> l) {
|
7 | forEachClone(l, f); |
8 | } |
9 | |
10 | static <A> void forEachClone(A[] l, IVF1<A> f) {
|
11 | forEach(l, f); |
12 | } |
Began life as a copy of #1022895
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032826 |
| Snippet name: | forEachClone - clone list first |
| Eternal ID of this version: | #1032826/1 |
| Text MD5: | b45fe1d1c3b207022703e4c92623aae7 |
| Transpilation MD5: | 039c02e67850624dd17cefebdf13c8be |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-06 14:04:28 |
| Source code size: | 306 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 352 / 456 |
| Referenced in: | [show references] |