| Constructor and Description |
|---|
LinearMeasurement(Cog state) |
LinearMeasurement(double quantity,
LinearUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object nother) |
double |
getQuantity() |
LinearUnit |
getUnit() |
int |
hashCode() |
double |
quantityInUnit(LinearUnit toUnit) |
Cog |
toCog() |
java.lang.String |
toString() |
public LinearMeasurement(double quantity,
LinearUnit unit)
public LinearMeasurement(Cog state)
public Cog toCog()
public double quantityInUnit(LinearUnit toUnit)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object nother)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic double getQuantity()
public LinearUnit getUnit()