public abstract class AbstractExplanation extends Object
prettyPrint()
.Constructor and Description |
---|
AbstractExplanation() |
Modifier and Type | Method and Description |
---|---|
protected abstract Stream<org.javatuples.Triplet<String,String,String>> |
getIntermediates()
First string is the traversal strategy, the second is the category and the third is the traversal
representation at that point.
|
protected abstract String |
getOriginalTraversalAsString() |
protected abstract Stream<String> |
getStrategyTraversalsAsString() |
protected Stream<String> |
getTraversalStepsAsString() |
String |
prettyPrint() |
String |
prettyPrint(int maxLineLength)
A pretty-print representation of the traversal explanation.
|
static void |
spacing(String finalTraversal,
int maxStrategyColumnLength,
StringBuilder builder) |
String |
toString() |
protected abstract String getOriginalTraversalAsString()
protected abstract Stream<org.javatuples.Triplet<String,String,String>> getIntermediates()
public String prettyPrint()
public String prettyPrint(int maxLineLength)
String
representation of the traversal explanationpublic static void spacing(String finalTraversal, int maxStrategyColumnLength, StringBuilder builder)
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.