Libraryless. Click here for Pure Java version (7986L/45K).
// f must return a string static S joinMap(O f, Iterable l) { ret join(map(f, l)); } static S joinMap(Iterable l, O f) { ret joinMap(f, l); } static <A> S joinMap(Iterable<A> l, IF1<A, S> f) { ret joinMap(f, l); } static <A> S joinMap(A[] l, IF1<A, S> f) { ret joinMap(f, l); } static <A> S joinMap(IF1<A, S> f, Iterable<A> l) { ret join(map(f, l)); } static <A> S joinMap(IF1<A, S> f, A[] l) { ret join(map(f, l)); } static <A, B> S joinMap(S separator, Map<A, B> map, IF2<A, B, S> f) { ret join(separator, map(map, f)); }
Began life as a copy of #1005492
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1006256 |
| Snippet name: | joinMap - map, then join strings |
| Eternal ID of this version: | #1006256/9 |
| Text MD5: | df89c72537e0b90d6aefba35cf2d6e8c |
| Transpilation MD5: | 6e05c342369e111664853c0f5196c000 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-05-01 00:44:34 |
| Source code size: | 570 bytes / 28 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 885 / 1077 |
| Version history: | 8 change(s) |
| Referenced in: | [show references] |