类 Table
java.lang.Object
net.neoforged.testframework.summary.md.Table
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Table.Builder
builder()
copy()
返回 a copy of this table。static String
static Alignment
getAlignment
(List<Alignment> alignments, int columnIndex) getColumnWidths
(List<TableRow<?>> rows, int minimumColumnWidth) static int
getMaximumItemLength
(List<TableRow<?>> rows, int columnIndex, int minimumColumnWidth) getRows()
static String
surroundWith
(String value, String surrounding) toString()
trim
(int rowsToKeep) Removes rows from the center of the table until only the requested amount of rows is left.
-
字段详细资料
-
SEPARATOR
- 另请参阅:
-
WHITESPACE
- 另请参阅:
-
DEFAULT_TRIMMING_INDICATOR
- 另请参阅:
-
DEFAULT_MINIMUM_COLUMN_WIDTH
public static final int DEFAULT_MINIMUM_COLUMN_WIDTH- 另请参阅:
-
rows
-
alignments
-
firstRowIsHeader
private final boolean firstRowIsHeader -
minimumColumnWidth
private final int minimumColumnWidth -
trimmingIndicator
-
-
构造器详细资料
-
Table
-
-
方法详细资料
-
builder
-
serialize
-
toString
-
trim
Removes rows from the center of the table until only the requested amount of rows is left.- 参数:
rowsToKeep
- the amount of rows that should be kept- 返回:
- the trimmed table
-
copy
返回 a copy of this table。- 返回:
- a copy of this table
-
generateHeaderSeparator
-
getColumnWidths
-
getMaximumItemLength
-
getAlignment
-
getRows
-
surroundWith
-