Enum Class TemperatureUnit

java.lang.Object
java.lang.Enum<TemperatureUnit>
com.flir.thermalsdk.image.TemperatureUnit
All Implemented Interfaces:
Serializable, Comparable<TemperatureUnit>, Constable

public enum TemperatureUnit extends Enum<TemperatureUnit>
Specifies the supported temperature units.
  • Enum Constant Details

    • CELSIUS

      public static final TemperatureUnit CELSIUS
      Unit in Celsius.

      The Celsius temperature scale was previously known as the centigrade scale.

    • FAHRENHEIT

      public static final TemperatureUnit FAHRENHEIT
      Units in Fahrenheit.
    • KELVIN

      public static final TemperatureUnit KELVIN
      Units in Kelvin.

      The Kelvin scale is a thermodynamic (absolute) temperature scale where absolute zero, the theoretical absence of all thermal energy, is zero (0 K).

  • Method Details

    • values

      public static TemperatureUnit[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TemperatureUnit valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null