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

7
LINES

< > BotCompany Repo | #1015568 - joinWithEmptyLines

JavaX fragment (include)

static S joinWithEmptyLines(Iterable<S> l) {
  ret join("\n\n", map rtrim(l));
}

static S joinWithEmptyLines(S... l) {
  ret joinWithEmptyLines(asList(l));
}

download  show line numbers  debug dex   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, 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: 177 / 202
Version history: 2 change(s)
Referenced in: [show references]

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