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 Summary

    Modifier and Type
    Method
    Description
    default T
    cell(int column)
    Gets the value of the cell in this row at the given column.
    default T
    cell(String column)
    Gets the value of the cell in this row at the given column.
    Gets the values of the cells in the row.
    Gets the names of the columns.
    Gets a view of the values of the cells in the row as a map.
    Gets a view of the values of the cells in the row as a map.
    default Integer
    Gets the index of this row.
    default List<T>
    Gets the values of the cells in this row.
    int
    row()
    Gets the index of this row.
    default List<T>
    setValue(List<T> value)
     

    Methods inherited from interface Map.Entry

    equals, hashCode
  • Method Details

    • 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.
    • getKey

      default Integer getKey()
      Gets the index of this row.
      Specified by:
      getKey in interface Map.Entry<Integer,List<T>>
      Returns:
      The row index.
    • 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.
    • setValue

      default List<T> setValue(List<T> value)
      Specified by:
      setValue in interface Map.Entry<Integer,List<T>>