Class QuantityAbsoluteValue<S>
- java.lang.Object
-
- org.tensorics.core.quantity.operations.AbstractQuantityOperation<S>
-
- org.tensorics.core.quantity.operations.QuantityUnaryOperation<S>
-
- org.tensorics.core.quantity.operations.QuantityAbsoluteValue<S>
-
- All Implemented Interfaces:
java.io.Serializable
,UnaryOperation<QuantifiedValue<S>>
public class QuantityAbsoluteValue<S> extends QuantityUnaryOperation<S>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuantityAbsoluteValue(QuantityEnvironment<S> environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuantifiedValue<S>
perform(QuantifiedValue<S> scalar)
performs the operation on the given value-
Methods inherited from class org.tensorics.core.quantity.operations.AbstractQuantityOperation
environment, equals, hashCode, productError, toString, validityFor
-
-
-
-
Constructor Detail
-
QuantityAbsoluteValue
public QuantityAbsoluteValue(QuantityEnvironment<S> environment)
-
-
Method Detail
-
perform
public QuantifiedValue<S> perform(QuantifiedValue<S> scalar)
Description copied from interface:UnaryOperation
performs the operation on the given value- Parameters:
scalar
- the input value, on which the operation shall be applied- Returns:
- the resulting value after the operation
-
-