| Modifier and Type | Method and Description |
|---|---|
double[] |
Unit.convertTo(double[] amounts,
Unit outputUnit)
Converts numerical values from this unit to another unit.
|
double[] |
UnitImpl.convertTo(double[] amounts,
Unit outputUnit)
Converts numeric values from this unit to another unit.
|
double[] |
Unit.convertTo(double[] input,
Unit outputUnit,
double[] output)
Converts numerical values from this unit to another unit.
|
double[] |
UnitImpl.convertTo(double[] input,
Unit outputUnit,
double[] output)
Converts numeric values from this unit to another unit.
|
double |
Unit.convertTo(double amount,
Unit outputUnit)
Converts a numerical value from this unit to another unit.
|
double |
UnitImpl.convertTo(double amount,
Unit outputUnit)
Converts a numeric value from this unit to another unit.
|
float[] |
Unit.convertTo(float[] amounts,
Unit outputUnit)
Converts numerical values from this unit to another unit.
|
float[] |
UnitImpl.convertTo(float[] amounts,
Unit outputUnit)
Converts numeric values from this unit to another unit.
|
float[] |
Unit.convertTo(float[] input,
Unit outputUnit,
float[] output)
Converts numerical values from this unit to another unit.
|
float[] |
UnitImpl.convertTo(float[] input,
Unit outputUnit,
float[] output)
Converts numeric values from this unit to another unit.
|
float |
Unit.convertTo(float amount,
Unit outputUnit)
Converts a numerical value from this unit to another unit.
|
float |
UnitImpl.convertTo(float amount,
Unit outputUnit)
Converts a numeric value from this unit to another unit.
|
static Converter |
ConverterImpl.create(Unit fromUnit,
Unit toUnit)
Factory method for creating a unit converter.
|
double |
LogarithmicUnit.fromDerivedUnit(double amount)
Converts a value in the convertible derived unit to the equivalent value
in this unit.
|
double |
OffsetUnit.fromDerivedUnit(double amount)
Converts a value in the convertible derived unit to the equivalent value
in this unit.
|
double |
DerivableUnit.fromDerivedUnit(double amount)
Converts a numeric value from the underlying derived unit to this unit.
|
double |
ScaledUnit.fromDerivedUnit(double amount)
Converts a numeric value from the underlying derived unit to this unit.
|
double[] |
LogarithmicUnit.fromDerivedUnit(double[] input,
double[] output)
Converts values in the convertible derived unit to the equivalent values
in this unit.
|
double[] |
OffsetUnit.fromDerivedUnit(double[] input,
double[] output)
Converts values in the convertible derived unit to the equivalent values
in this unit.
|
double[] |
DerivableUnit.fromDerivedUnit(double[] input,
double[] output)
Converts numeric values from the underlying derived unit to this unit.
|
double[] |
ScaledUnit.fromDerivedUnit(double[] input,
double[] output)
Converts numeric values from the underlying derived unit to this unit.
|
float |
LogarithmicUnit.fromDerivedUnit(float amount)
Converts a value in the convertible derived unit to the equivalent value
in this unit.
|
float |
OffsetUnit.fromDerivedUnit(float amount)
Converts a value in the convertible derived unit to the equivalent value
in this unit.
|
float |
DerivableUnit.fromDerivedUnit(float amount)
Converts numeric values from the underlying derived unit to this unit.
|
float |
ScaledUnit.fromDerivedUnit(float amount)
Converts a numeric value from the underlying derived unit to this unit.
|
float[] |
LogarithmicUnit.fromDerivedUnit(float[] input,
float[] output)
Converts values in the convertible derived unit to the equivalent values
in this unit.
|
float[] |
OffsetUnit.fromDerivedUnit(float[] input,
float[] output)
Converts values in the convertible derived unit to the equivalent values
in this unit.
|
float[] |
DerivableUnit.fromDerivedUnit(float[] input,
float[] output)
Converts numeric values from the underlying derived unit to this unit.
|
float[] |
ScaledUnit.fromDerivedUnit(float[] input,
float[] output)
Converts numeric values from the underlying derived unit to this unit.
|
Converter |
Unit.getConverterTo(Unit outputUnit)
Gets a Converter that converts numeric values from this unit to another,
compatible unit.
|
Converter |
UnitImpl.getConverterTo(Unit outputUnit)
Gets a Converter for converting numeric values from this unit to another,
compatible unit.
|
Converter |
TimeScaleUnit.getConverterTo(Unit outputUnit)
Returns a Converter for converting numeric values from this unit to
another unit.
|
double |
LogarithmicUnit.toDerivedUnit(double amount)
Converts a value in this unit to the equivalent value in the convertible
derived unit.
|
double |
OffsetUnit.toDerivedUnit(double amount)
Converts a value in this unit to the equivalent value in the convertible
derived unit.
|
double |
DerivableUnit.toDerivedUnit(double amount)
Converts a numeric value in this unit to the underlying derived unit.
|
double |
ScaledUnit.toDerivedUnit(double amount)
Converts a numeric value from this unit to the underlying derived unit.
|
double[] |
LogarithmicUnit.toDerivedUnit(double[] input,
double[] output)
Converts values in this unit to the equivalent values in the convertible
derived unit.
|
double[] |
OffsetUnit.toDerivedUnit(double[] input,
double[] output)
Converts values in this unit to the equivalent values in the convertible
derived unit.
|
double[] |
DerivableUnit.toDerivedUnit(double[] input,
double[] output)
Converts numeric values in this unit to the underlying derived unit.
|
double[] |
ScaledUnit.toDerivedUnit(double[] input,
double[] output)
Converts numeric values from this unit to the underlying derived unit.
|
float |
LogarithmicUnit.toDerivedUnit(float amount)
Converts a value in this unit to the equivalent value in the convertible
derived unit.
|
float |
OffsetUnit.toDerivedUnit(float amount)
Converts a value in this unit to the equivalent value in the convertible
derived unit.
|
float |
DerivableUnit.toDerivedUnit(float amount)
Converts a numeric value in this unit to the underlying derived unit.
|
float |
ScaledUnit.toDerivedUnit(float amount)
Converts a numeric value from this unit to the underlying derived unit.
|
float[] |
LogarithmicUnit.toDerivedUnit(float[] input,
float[] output)
Converts values in this unit to the equivalent values in the convertible
derived unit.
|
float[] |
OffsetUnit.toDerivedUnit(float[] input,
float[] output)
Converts values in this unit to the equivalent values in the convertible
derived unit.
|
float[] |
DerivableUnit.toDerivedUnit(float[] input,
float[] output)
Converts numeric values in this unit to the underlying derived unit.
|
float[] |
ScaledUnit.toDerivedUnit(float[] input,
float[] output)
Converts numeric values from this unit to the underlying derived unit.
|
| Constructor and Description |
|---|
ConverterImpl(Unit fromUnit,
Unit toUnit)
Constructs from a "from" unit and a "to" unit.
|
TimeScaleUnit.MyConverter(TimeScaleUnit fromUnit,
Unit toUnit) |
UnitImpl.MyConverter(Unit fromUnit,
Unit toUnit) |
Copyright © 1999-2015 UCAR/Unidata. All Rights Reserved.