Class TemperatureValue

java.lang.Object
edu.ie3.datamodel.models.value.TemperatureValue
All Implemented Interfaces:
Value, Serializable

public class TemperatureValue extends Object implements Value
Describes a temperature value
See Also:
  • Constructor Details

    • TemperatureValue

      public TemperatureValue(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Temperature> temperature)
      Parameters:
      temperature - (typically in K)
  • Method Details

    • getTemperature

      public Optional<tech.units.indriya.ComparableQuantity<javax.measure.quantity.Temperature>> getTemperature()
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object