Uses of Record Class
org.variantsync.diffdetective.tablegen.rows.ContentRow
Package
Description
-
Uses of ContentRow in org.variantsync.diffdetective.tablegen
Modifier and TypeFieldDescriptionprivate final Function<ContentRow,
Object> ColumnDefinition.getCell
The field for thegetCell
record component.Modifier and TypeMethodDescriptionstatic List<ContentRow>
TableGenerator.alphabeticallySorted
(List<ContentRow> row) Returns a new alphabetically sorted list.ColumnDefinition.getCell()
Returns the value of thegetCell
record component.Modifier and TypeMethodDescriptionTableGenerator.generateTable
(List<ContentRow> datasets, ContentRow ultimateResult) Convertdatasets
to a LaTex table according to the template represented by this class.TableDefinition.sortAndFilter
(List<ContentRow> rows, ContentRow ultimateResult) Returns a list of all rows that should appear in the table.Modifier and TypeMethodDescriptionstatic List<ContentRow>
TableGenerator.alphabeticallySorted
(List<ContentRow> row) Returns a new alphabetically sorted list.static ColumnDefinition
Constructs a new column definition.TableGenerator.generateTable
(List<ContentRow> datasets, ContentRow ultimateResult) Convertdatasets
to a LaTex table according to the template represented by this class.TableDefinition.sortAndFilter
(List<ContentRow> rows, ContentRow ultimateResult) Returns a list of all rows that should appear in the table.ModifierConstructorDescriptionColumnDefinition
(String header, Alignment alignment, Function<ContentRow, Object> getCell) Creates an instance of aColumnDefinition
record class. -
Uses of ContentRow in org.variantsync.diffdetective.tablegen.styles
Modifier and TypeMethodDescriptionprivate static String
ShortTable.absoluteCountOf
(ShortTable t, EditClass editClass, ContentRow row) Returns a formatted string of the absolute number of occurrences ofeditClass
inrow
.private static int
VariabilityShare.countEditsToVariability
(ContentRow row) Compute the total sum of all occurrences of edit classes present in this table.private String
VariabilityShare.getRelativeShareOf
(EditClass editClass, ContentRow row) Compute the number of occurrences ofeditClass
relative to the edit classes actually present in this table.private static Stream<Map.Entry<EditClass,
EditClassCount.Occurrences>> VariabilityShare.getVariationalEditClasses
(ContentRow row) Returns the number of occurrences of edit classes present in the table.private static String
ShortTable.relativeCountOf
(ShortTable t, EditClass editClass, ContentRow row) Returns a formatted string of the relative number of occurrences ofeditClass
inrow
.ShortTable.sortAndFilter
(List<ContentRow> rows, ContentRow ultimateResult) Conditionally sorts and limits the rows by the number of commits in their dataset.Table1.sortAndFilter
(List<ContentRow> rows, ContentRow ultimateResult) Sortsrows
alphabetically and appendsultimateResult
to the result.VariabilityShare.sortAndFilter
(List<ContentRow> rows, ContentRow ultimateResult) Delegates toinner
given in theconstructor
.Modifier and TypeMethodDescriptionprivate static List<ColumnDefinition>
ShortTable.columns
(ShortTable t, org.apache.commons.lang3.function.TriFunction<ShortTable, EditClass, ContentRow, String> getEditClassCount) Returns a list of all columns contained in this table.ShortTable.sortAndFilter
(List<ContentRow> rows, ContentRow ultimateResult) Conditionally sorts and limits the rows by the number of commits in their dataset.Table1.sortAndFilter
(List<ContentRow> rows, ContentRow ultimateResult) Sortsrows
alphabetically and appendsultimateResult
to the result.VariabilityShare.sortAndFilter
(List<ContentRow> rows, ContentRow ultimateResult) Delegates toinner
given in theconstructor
.