public class Quantity extends Object
A dimensioned quantity expressing the result of a measurement act.
protected String
unit
value
Quantity(String value, String unit)
String
getUnit()
getValue()
void
setUnit(String unit)
setValue(String value)
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected String value
protected String unit
public Quantity(String value, String unit)
public String getValue()
public void setValue(String value)
public String getUnit()
public void setUnit(String unit)
public String toString()
toString
Object
Copyright © 2021. All rights reserved.