Class UnitImpl
- java.lang.Object
-
- de.uka.ipd.sdq.probfunction.math.impl.UnitImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getUnitName()
int
hashCode()
void
setUnitName(String unitName)
Sets the string describing the unit.String
toString()
-
-
-
Constructor Detail
-
UnitImpl
protected UnitImpl(String unitName)
-
-
Method Detail
-
getUnitName
public String getUnitName()
- Specified by:
getUnitName
in interfaceIUnit
- Returns:
- Returns a string describing the unit.
-
setUnitName
public void setUnitName(String unitName)
Description copied from interface:IUnit
Sets the string describing the unit.- Specified by:
setUnitName
in interfaceIUnit
-
-