S
- the type of scalars (field elements) on which all the operations are based onpublic class QuantityMultiplication<S> extends QuantityBinaryOperation<S>
Constructor and Description |
---|
QuantityMultiplication(QuantityEnvironment<S> environment) |
Modifier and Type | Method and Description |
---|---|
QuantifiedValue<S> |
perform(QuantifiedValue<S> left,
QuantifiedValue<S> right)
Has to be implemented to perform the actual operation.
|
equals, hashCode, operation, toString
environment, productError, validityFor
public QuantityMultiplication(QuantityEnvironment<S> environment)
public QuantifiedValue<S> perform(QuantifiedValue<S> left, QuantifiedValue<S> right)
BinaryFunction
left
- the left operand to be used in the operationright
- the right operand to be used in the operation