MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / indent

Method indent

src/main/java/fieldbox/boxes/Boxes.java:143–147  ·  view source on GitHub ↗
(int x)

Source from the content-addressed store, hash-verified

141 String q = "";
142 while (q.length() < x) q = ":" + q;
143 return q;
144 }
145
146 static private String _debugPrintBoxGraphChildren(Box root, int indent) {
147 return indent(indent) + root + "\n" + root.children()
148 .stream()
149 .map(x -> _debugPrintBoxGraphChildren(x, indent + 2))
150 .reduce((a, b) -> a + "\n" + b)

Callers 2

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected