/** * Create a tabular result set from a header definition and an ordered list of rows. * * @param headerDefinition the definition of the header row, not null * @param rows a list of rows, not null * @return the {@code TabularResult} instance */ public static TabularResult of(final HeaderDefinition headerDefinition, final List<Row> rows) { ArgumentChecker.notNull(headerDefinition, "headerDefinition"); ArgumentChecker.notNull(rows, "rows"); return new TabularResult(headerDefinition, rows); }