Package acdp
Interface Table.ValueSupplier<T>
- Type Parameters:
T
- The type of the value.
- Enclosing interface:
Table
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides a new value that does not depend on the stored value.
The supplyValue()
method of a value supplier is invoked by the
Table.updateAllSupplyValues(acdp.Column<T>, acdp.Table.ValueSupplier<T>)
method for each row of the table.
Implement this interface in favor of the Table.ValueChanger
interface
if you do not need to know the stored values.
- Author:
- Beat Hörmann
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value for a particular column and for the next row of the table.
-
Method Details
-
supplyValue
T supplyValue()Returns the value for a particular column and for the next row of the table.Depending on the concrete implementation, this method may throw an exception not mentioned here.
- Returns:
- The value.
-