Constructor and Description |
---|
Measure(double value,
IlvUnit unit)
Creates a measure with the specified unit.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones the object.
|
double |
get()
Returns the value of the measure in the
unit used in the constructor.
|
double |
getAs(IlvUnit unit)
Returns the value of the measure in the
specified unit.
|
IlvUnit |
getUnit()
Returns the unit of measurement of this object.
|
void |
set(double value)
Changes the measure.
|
public Measure(double value, IlvUnit unit)
public IlvUnit getUnit()
public void set(double value)
public double get()
public double getAs(IlvUnit unit)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.