Package com.google.caliper.model
Class Value
- java.lang.Object
-
- com.google.caliper.model.Value
-
- All Implemented Interfaces:
Serializable
public class Value extends Object implements Serializable
A magnitude with units.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Valuecreate(double value, String unit)booleanequals(Object obj)inthashCode()doublemagnitude()StringtoString()Stringunit()
-
-
-
Method Detail
-
unit
public String unit()
-
magnitude
public double magnitude()
-
-