Interface IHeaderTable.ITableRowEntry<T>

  • Type Parameters:
    T - The type of the cell values.
    All Superinterfaces:
    Map.Entry<Integer,​List<T>>
    Enclosing interface:
    IHeaderTable<T>

    public static interface IHeaderTable.ITableRowEntry<T>
    extends Map.Entry<Integer,​List<T>>
    Represents a row in a table.
    Since:
    8.2.0
    • Method Detail

      • cell

        default T cell​(int column)
        Gets the value of the cell in this row at the given column.
        Parameters:
        column - The index of the column.
        Returns:
        The value of the cell in this row at the given column.
      • cell

        default T cell​(String column)
        Gets the value of the cell in this row at the given column.
        Parameters:
        column - The name of the column.
        Returns:
        The value of the cell in this row at the given column.
      • cells

        List<T> cells()
        Gets the values of the cells in the row.
        Returns:
        The values of the cells in the row.
      • columnNames

        List<String> columnNames()
        Gets the names of the columns.
        Returns:
        The names of the columns.
      • columnsByIndex

        Map<Integer,​T> columnsByIndex()
        Gets a view of the values of the cells in the row as a map. The keys are the column indices.
        Returns:
        A view of the values of the cells in the row as a map.
      • columnsByName

        Map<String,​T> columnsByName()
        Gets a view of the values of the cells in the row as a map. The keys are the column names.
        Returns:
        A view of the values of the cells in the row as a map.
      • getValue

        default List<T> getValue()
        Gets the values of the cells in this row.
        Specified by:
        getValue in interface Map.Entry<Integer,​List<T>>
        Returns:
        The values of the cells in this row.
      • row

        int row()
        Gets the index of this row.
        Returns:
        The row index.