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