Package com.flir.thermalsdk.image
Enum Class TemperatureUnit
- All Implemented Interfaces:
Serializable
,Comparable<TemperatureUnit>
,Constable
Specifies the supported temperature units.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnit in Celsius.Units in Fahrenheit.Units in Kelvin. -
Method Summary
Modifier and TypeMethodDescriptionstatic TemperatureUnit
Returns the enum constant of this class with the specified name.static TemperatureUnit[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CELSIUS
Unit in Celsius.The Celsius temperature scale was previously known as the centigrade scale.
-
FAHRENHEIT
Units in Fahrenheit. -
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
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
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 nameNullPointerException
- if the argument is null
-