Class MeasurementUnitId

  • All Implemented Interfaces:
    Serializable

    public class MeasurementUnitId
    extends Object
    implements Serializable
    The MeasurementUnitId class implements the ID class for the MeasurementUnit class.
    Author:
    Marcus Portmann
    See Also:
    Serialized Form
    • Constructor Detail

      • MeasurementUnitId

        public MeasurementUnitId()
    • Method Detail

      • equals

        public boolean equals​(Object object)
        Indicates whether some other object is "equal to" this one.
        Overrides:
        equals in class Object
        Parameters:
        object - the reference object with which to compare
        Returns:
        true if this object is the same as the object argument otherwise false
      • hashCode

        public int hashCode()
        Returns a hash code value for the object.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for the object