Package de.xima.fc.common.data.table
Interface IHeaderTable.ITableRowEntry<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods 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.List<T>
cells()
Gets the values of the cells in the row.List<String>
columnNames()
Gets the names of the columns.Map<Integer,T>
columnsByIndex()
Gets a view of the values of the cells in the row as a map.Map<String,T>
columnsByName()
Gets a view of the values of the cells in the row as a map.default Integer
getKey()
Gets the index of this row.default List<T>
getValue()
Gets the values of the cells in this row.int
row()
Gets the index of this row.default List<T>
setValue(List<T> value)
-
-
-
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.
-
getKey
default Integer getKey()
Gets the index of this row.
-
row
int row()
Gets the index of this row.- Returns:
- The row index.
-
-