Libraryless. Click here for Pure Java version (3939L/22K).
1 | static <A, B> LL<B> mapTwoLevelsDown(F1<A, B> f, Iterable<L<A>> l) { |
2 | new LL<B> out; |
3 | if (l != null) for (L<A> x : l) |
4 | out.add(map(f, x)); |
5 | ret out; |
6 | } |
7 | |
8 | static <A, B> LL<B> lambdaMapLike mapTwoLevelsDown(IF1<A, B> f, Iterable<L<A>> l) { |
9 | new LL<B> out; |
10 | if (l != null) for (L<A> x : l) |
11 | out.add(map(f, x)); |
12 | ret out; |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015512 |
Snippet name: | mapTwoLevelsDown |
Eternal ID of this version: | #1015512/16 |
Text MD5: | 08f277c3696fdd7fe4302221ec72efee |
Transpilation MD5: | aa755a1c483c6c897f45aa865d58d91a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-15 16:36:49 |
Source code size: | 341 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 452 / 589 |
Version history: | 15 change(s) |
Referenced in: | [show references] |