Class SpreadsheetBlock.ImportCellFromStream
java.lang.Object
neqsim.process.equipment.util.SpreadsheetBlock.ImportCellFromStream
- All Implemented Interfaces:
Serializable, SpreadsheetBlock.CellDefinition
- Enclosing class:
SpreadsheetBlock
private static class SpreadsheetBlock.ImportCellFromStream
extends Object
implements SpreadsheetBlock.CellDefinition
Cell that reads from a stream.
- Version:
- 1.0
- Author:
- ESOL
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<StreamInterface, Double> private static final longprivate final StreamInterface -
Constructor Summary
ConstructorsConstructorDescriptionImportCellFromStream(StreamInterface stream, Function<StreamInterface, Double> reader) -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
stream
-
reader
-
-
Constructor Details
-
ImportCellFromStream
ImportCellFromStream(StreamInterface stream, Function<StreamInterface, Double> reader)
-
-
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
-