Class SpreadsheetBlock.ConstantCell
java.lang.Object
neqsim.process.equipment.util.SpreadsheetBlock.ConstantCell
- All Implemented Interfaces:
Serializable, SpreadsheetBlock.CellDefinition
- Enclosing class:
SpreadsheetBlock
private static class SpreadsheetBlock.ConstantCell
extends Object
implements SpreadsheetBlock.CellDefinition
Cell with a constant value.
- Version:
- 1.0
- Author:
- ESOL
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate final double -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
value
private final double value
-
-
Constructor Details
-
ConstantCell
ConstantCell(double value)
-
-
Method Details
-
evaluate
Description copied from interface:SpreadsheetBlock.CellDefinitionEvaluate this cell given the current state of all previously computed cells.- Specified by:
evaluatein interfaceSpreadsheetBlock.CellDefinition- Parameters:
currentValues- map of cell name to value for already-computed cells- Returns:
- the evaluated value
-