public class TreePrinterHelper extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INDENTATION
The number of characters to indent.
|
static TreePrinterHelper |
INSTANCE
Singleton access
|
Modifier and Type | Method and Description |
---|---|
String |
generateNodePrefix(int nIndentations)
Returns a string containing the specified number of indentations, where
each indentation contains
INDENTATION blank characters. |
public static final int INDENTATION
public static final TreePrinterHelper INSTANCE
public String generateNodePrefix(int nIndentations)
INDENTATION
blank characters.nIndentations
- the number of indentations in the returned String.Copyright © 2021 JBoss by Red Hat. All rights reserved.