public abstract class AbstractExplanation extends Object
prettyPrint().| Constructor and Description | 
|---|
AbstractExplanation()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract Stream<<any>> | 
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<<any>> 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–2021 Apache Software Foundation. All rights reserved.