T
- the type of the field elements, on which the calculations are based onpublic class JScienceQuantificationStrategy<T> extends java.lang.Object implements QuantificationStrategy<T>, java.io.Serializable
Constructor and Description |
---|
JScienceQuantificationStrategy(Cheating<T> cheating) |
Modifier and Type | Method and Description |
---|---|
<S extends ErronousValue<T> & Quantified> |
asSameUnit(S left,
S right) |
<V extends ErronousValue<T> & Quantified> |
convertValueToUnit(V value,
Unit targetUnit) |
Unit |
divide(Unit left,
Unit right) |
boolean |
equals(java.lang.Object obj) |
java.lang.Class<QuantificationStrategy> |
getMarkerInterface() |
int |
hashCode() |
Unit |
multiply(Unit left,
Unit right) |
Unit |
one() |
Unit |
power(Unit left,
T rigth) |
Unit |
root(Unit left,
T right) |
java.lang.String |
toString() |
public <S extends ErronousValue<T> & Quantified> OperandPair<T,Unit> asSameUnit(S left, S right)
asSameUnit
in interface QuantificationStrategy<T>
public Unit multiply(Unit left, Unit right)
multiply
in interface QuantificationStrategy<T>
public Unit divide(Unit left, Unit right)
divide
in interface QuantificationStrategy<T>
public <V extends ErronousValue<T> & Quantified> ErronousValue<T> convertValueToUnit(V value, Unit targetUnit)
convertValueToUnit
in interface QuantificationStrategy<T>
public Unit one()
one
in interface QuantificationStrategy<T>
public java.lang.Class<QuantificationStrategy> getMarkerInterface()
getMarkerInterface
in interface Option<ManipulationOption>
public Unit power(Unit left, T rigth)
power
in interface QuantificationStrategy<T>
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