Class UnitImpl

java.lang.Object
de.uka.ipd.sdq.probfunction.math.impl.UnitImpl
All Implemented Interfaces:
IUnit

public class UnitImpl extends Object implements IUnit
  • Constructor Details

    • UnitImpl

      protected UnitImpl(String unitName)
  • Method Details

    • getUnitName

      public String getUnitName()
      Specified by:
      getUnitName in interface IUnit
      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 interface IUnit
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object