Libraryless. Click here for Pure Java version (2856L/17K).
1 | static S joinWithEmptyLines(Iterable<S> l) { |
2 | ret join("\n\n", map rtrim(l)); |
3 | } |
4 | |
5 | static S joinWithEmptyLines(S... l) { |
6 | ret joinWithEmptyLines(asList(l)); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1015568 |
Snippet name: | joinWithEmptyLines |
Eternal ID of this version: | #1015568/3 |
Text MD5: | af2f0ee1439002e615057c77ca52672b |
Transpilation MD5: | 55ade2507d1c66d4d77ab4bc8a7c9a1f |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-23 11:42:42 |
Source code size: | 164 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 537 / 660 |
Version history: | 2 change(s) |
Referenced in: | [show references] |