mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Feature/freeway (#876)
* freeway initial * freeway improvements * handle circuits with one path * freeway improvements
This commit is contained in:
@@ -19,6 +19,10 @@ public class TreeAsciiUtil {
|
||||
public static final String BOXV = "│";
|
||||
|
||||
public static List<String> concatenateMultiLineParallel(List<List<String>> elementLines) {
|
||||
|
||||
if (elementLines.size() <= 1) {
|
||||
return elementLines.stream().findFirst().orElse(new ArrayList<>());
|
||||
}
|
||||
|
||||
List<Integer> lineCounts = elementLines.stream()
|
||||
.map(lines -> lines.size())
|
||||
|
||||
Reference in New Issue
Block a user