|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number org.geotools.measure.Measure
A scalar with an unit.
Constructor Summary | |
Measure(double value,
javax.units.Unit unit)
Creates a new measure with the specified value and unit. |
Method Summary | |
byte |
byteValue()
Returns the scalar value. |
double |
doubleValue()
Returns the scalar value. |
boolean |
equals(java.lang.Object object)
Compares this measure with the specified object for equality. |
float |
floatValue()
Returns the scalar value. |
javax.units.Unit |
getUnit()
Returns the unit. |
int |
hashCode()
Returns a hash code value for this measure. |
int |
intValue()
Returns the scalar value. |
long |
longValue()
Returns the scalar value. |
short |
shortValue()
Returns the scalar value. |
java.lang.String |
toString()
Returns a string representation of this measure. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Measure(double value, javax.units.Unit unit)
Method Detail |
public double doubleValue()
public float floatValue()
public long longValue()
public int intValue()
public short shortValue()
public byte byteValue()
public javax.units.Unit getUnit()
public int hashCode()
public boolean equals(java.lang.Object object)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |