Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1015568 - joinWithEmptyLines

JavaX fragment (include)

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 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1015568
Snippet name: joinWithEmptyLines
Eternal ID of this version: #1015568/3
Text MD5: af2f0ee1439002e615057c77ca52672b
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: 233 / 272
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1015568 & http://1015568.tinybrain.de