|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Converter
Interface for converting numeric values from one unit to another.
Unit.getConverterTo(Unit)| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||