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

10
LINES

< > BotCompany Repo | #1021285 // asciiSideBySideWithSeparator

JavaX fragment (include)

static S asciiSideBySideWithSeparator(S sep, LS texts) {
  if (empty(texts)) ret asciiSideBySide(texts);
  int rows = maxLineCount(texts);
  new L<S> out;
  for i over texts: {
    if (i != 0) out.add(repLine(rows, sep));
    out.add(texts.get(i));
  }
  ret asciiSideBySide(out);
}

Author comment

Began life as a copy of #1014816

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021285
Snippet name: asciiSideBySideWithSeparator
Eternal ID of this version: #1021285/1
Text MD5: d70ad419f9958be7a1d815d2193b147e
Author: stefan
Category: javax / ascii
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-06 16:40:21
Source code size: 291 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 217 / 240
Referenced in: [show references]