public class Weight extends Object implements Serializable
Constructor and Description |
---|
Weight() |
Weight(double weight) |
Weight(double weight,
String unit) |
public Weight()
public Weight(double weight)
public Weight(double weight, String unit)
weight
- the weight to set. Must be a positive valueCopyright © 2020. All rights reserved.