Package jisa.results
Class ResultTable.RowBuilder
- java.lang.Object
-
- jisa.results.ResultTable.RowSetter
-
- jisa.results.ResultTable.RowBuilder
-
- Enclosing class:
- ResultTable
public class ResultTable.RowBuilder extends ResultTable.RowSetter
-
-
Constructor Summary
Constructors Constructor Description RowBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultTable
endRow()
Ends the row-building process and adds the new row to the table that spawned it.<T> ResultTable.RowBuilder
set(Column<T> column, T value)
Set the specified column value for this new row to the given value.-
Methods inherited from class jisa.results.ResultTable.RowSetter
get
-
-
-
-
Method Detail
-
endRow
public ResultTable endRow()
Description copied from class:ResultTable.RowSetter
Ends the row-building process and adds the new row to the table that spawned it.- Overrides:
endRow
in classResultTable.RowSetter
- Returns:
- ResultTable reference
-
set
public <T> ResultTable.RowBuilder set(Column<T> column, T value)
Description copied from class:ResultTable.RowSetter
Set the specified column value for this new row to the given value.- Overrides:
set
in classResultTable.RowSetter
- Type Parameters:
T
- Data type- Parameters:
column
- Column to setvalue
- Value to set column to- Returns:
- Self reference
-
-