public class LengthConverter
extends Object
-
Konstruktorübersicht
Konstruktoren
-
Methodenübersicht
double
Converts the stored length to another unit.
-
Konstruktordetails
-
LengthConverter
public LengthConverter(Length length,
double amount)
-
Methodendetails
-
convertTo
public double convertTo(Length to)
Converts the stored length to another unit.
- Parameter:
to - The target unit.
- Gibt zurück:
- The converted value.
-