sS asciiSideBySideWithBars(LS texts) { if (empty(texts)) ret asciiSideBySide(texts); int rows = maxLineCount(texts); L<S> out = ll(repLine(rows, "| ")); for i over texts: { if (i != 0) out.add(repLine(rows, " | ")); out.add(texts.get(i)); } out.add(repLine(rows, " |")); ret asciiSideBySide(out); } sS asciiSideBySideWithBars(S... texts) { ret asciiSideBySideWithBars(asList(texts)); }
Began life as a copy of #1014814
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014816 | 
| Snippet name: | asciiSideBySideWithBars | 
| Eternal ID of this version: | #1014816/4 | 
| Text MD5: | ea9c7477a1ff2895894dbbe86c194498 | 
| Author: | stefan | 
| Category: | javax / ascii | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-03-01 19:59:11 | 
| Source code size: | 424 bytes / 15 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 668 / 703 | 
| Version history: | 3 change(s) | 
| Referenced in: | [show references] |