| Modifier and Type | Field and Description |
|---|---|
| private final AbstractTable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Table | fromColumns(SequencedMap<String, ? extends SequencedCollection<String>> columns)
Implements io. Initializes the table from a column-oriented data source, where each entry maps a header to the values in that column, top to bottom. |
| public Table | fromRows(SequencedCollection<? extends SequencedCollection<String>> rows)
Implements io. Initializes the table from a row-oriented data source. |
| public Table | headers(String... headers)
Implements io. Sets the table headers. |
| public Table | headers(Collection<String> headers)
Implements io. Sets the table headers. |
| public Table | headers(SequencedCollection<String> headers)
Implements io. Sets the table headers. |
| table | back to summary |
|---|---|
| private final AbstractTable table | |
| TableHeaderBuilder | back to summary |
|---|---|
| public TableHeaderBuilder(Table table) | |
| fromColumns | back to summary |
|---|---|
| public Table fromColumns(SequencedMap<String, ? extends SequencedCollection<String>> columns) Implements io. Doc from io. Initializes the table from a column-oriented data source, where each entry maps a header to the values in that column, top to bottom. Columns of differing lengths are padded to the longest column.
| |
| fromRows | back to summary |
|---|---|
| public Table fromRows(SequencedCollection<? extends SequencedCollection<String>> rows) Implements io. Doc from io. Initializes the table from a row-oriented data source. The first row is used as the table headers; all subsequent rows are added as data rows.
| |
| headers | back to summary |
|---|---|
| public Table headers(String... headers) Implements io. Doc from io. Sets the table headers. | |
| headers | back to summary |
|---|---|
| public Table headers(Collection<String> headers) Implements io. Doc from io. Sets the table headers. | |
| headers | back to summary |
|---|---|
| public Table headers(SequencedCollection<String> headers) Implements io. Doc from io. Sets the table headers.
| |