V
- public class AbstractQuantityOperation<V>
extends java.lang.Object
implements java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
AbstractQuantityOperation(QuantityEnvironment<V> environment) |
Modifier and Type | Method and Description |
---|---|
protected QuantityEnvironment<V> |
environment() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
protected com.google.common.base.Optional<V> |
productError(QuantifiedValue<V> leftOperand,
QuantifiedValue<V> rightOperand) |
java.lang.String |
toString() |
protected boolean |
validityFor(QuantifiedValue<V> leftOperand,
QuantifiedValue<V> rightOperand) |
protected AbstractQuantityOperation(QuantityEnvironment<V> environment)
protected QuantityEnvironment<V> environment()
protected boolean validityFor(QuantifiedValue<V> leftOperand, QuantifiedValue<V> rightOperand)
protected com.google.common.base.Optional<V> productError(QuantifiedValue<V> leftOperand, QuantifiedValue<V> rightOperand)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object