|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DistanceUnits | |
---|---|
edu.nrao.sss.measure | Measurements and their units. |
Uses of DistanceUnits in edu.nrao.sss.measure |
---|
Methods in edu.nrao.sss.measure that return DistanceUnits | |
---|---|
static DistanceUnits |
DistanceUnits.fromString(String text)
Returns the distance units represented by text . |
static DistanceUnits |
DistanceUnits.getDefault()
Returns a unit of distance. |
DistanceUnits |
LinearVelocityUnits.getDistanceUnits()
Returns the units of distance used by this unit of velocity. |
DistanceUnits |
Distance.getUnits()
Returns the units of this distance. |
static DistanceUnits |
DistanceUnits.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DistanceUnits[] |
DistanceUnits.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in edu.nrao.sss.measure with parameters of type DistanceUnits | |
---|---|
Distance |
Distance.convertTo(DistanceUnits newUnits)
Converts this measure of distance to the new units. |
static LinearVelocityUnits |
LinearVelocityUnits.from(DistanceUnits distanceUnits,
TimeUnits timeUnits)
Returns linear velocity units for the given distance and time units. |
BigDecimal |
Wave.getWavelengthValueIn(DistanceUnits units)
Returns the wavelength of this wave in the given units. |
void |
Distance.set(BigDecimal value,
DistanceUnits units)
Sets the magnitude and units of this distance. |
void |
Distance.set(String value,
DistanceUnits units)
Sets the magnitude and units of this distance. |
void |
Distance.setUnits(DistanceUnits newUnits)
Sets the units of this distance to newUnits . |
static void |
LinearVelocityUnits.throwBadUnitsText(String text,
DistanceUnits du,
TimeUnits tu)
|
BigDecimal |
Distance.toUnits(DistanceUnits otherUnits)
Returns the magnitude of this distance in otherUnits . |
BigDecimal |
DistanceUnits.toUnits(DistanceUnits otherUnits)
Returns a factor for converting from this unit to otherUnits . |
Constructors in edu.nrao.sss.measure with parameters of type DistanceUnits | |
---|---|
Distance(BigDecimal value,
DistanceUnits units)
Creates a new distance with the given magnitude and units. |
|
Distance(String value,
DistanceUnits units)
Creates a new distance with the given magnitude and units. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |