public interface Converter
Unit.getConverterTo(Unit)| Modifier and Type | Method and Description |
|---|---|
double |
convert(double amount)
Converts a numeric value.
|
double[] |
convert(double[] amounts)
Converts an array of numeric values.
|
double[] |
convert(double[] input,
double[] output)
Converts an array of numeric values.
|
float |
convert(float amount)
Converts a numeric value.
|
float[] |
convert(float[] amounts)
Converts an array of numeric values.
|
float[] |
convert(float[] input,
float[] output)
Converts an array of numeric values.
|
float convert(float amount)
amount - The numeric value to convert.double convert(double amount)
amount - The numeric value to convert.float[] convert(float[] amounts)
amounts - The numeric values to convert.double[] convert(double[] amounts)
amounts - The numeric values to convert.float[] convert(float[] input,
float[] output)
input - The numeric values to convert.output - The converted numeric values. May be
same array as input.output.double[] convert(double[] input,
double[] output)
input - The numeric values to convert.output - The converted numeric values. May be
same array as input.output.