Package jisa.results

Class ResultTable.RowSetter

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RowSetter

        public RowSetter()
    • 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 set
        value - 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