Transpiled version (4149L) is out of date.
static LS mapToLines(Map map) { new L<S> l; for (O key : keys(map)) l.add(str(key) + " = " + str(map.get(key))); ret l; } sS mapToLines(Map map, O f) { ret lines(map(map, f)); } sS mapToLines(O f, Map map) { ret lines(map(map, f)); } sS mapToLines(O f, Iterable l) { ret lines(map(f, l)); } static <A> S mapToLines(Iterable<A> l, IF1<A, S> f) { ret mapToLines((O) f, l); } static <A> S lambdaMapLike mapToLines(IF1<A, S> f, Iterable<A> l) { ret mapToLines((O) f, l); } static <A, B> S mapToLines(Map<A, B> map, IF2<A, B, S> f) { ret lines(map(map, f)); } static <A> S mapToLines(IF1<A, S> f, A data1, A... moreData) { ret lines(map(f, data1, moreData)); }
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1008543 |
Snippet name: | mapToLines - different meanings |
Eternal ID of this version: | #1008543/13 |
Text MD5: | d1c219e1ccf5c849e3d4175c2ee6c8e6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-23 00:45:07 |
Source code size: | 719 bytes / 34 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 704 / 915 |
Version history: | 12 change(s) |
Referenced in: | [show references] |