Hubro Connect
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
Hubro Connect
hubro-connect
/
no.hubroplatform.hubroconnect.units
/
Temperature
Temperature
@
Serializable
class
Temperature
:
Comparable
<
Temperature
>
Members
Types
Companion
Link copied to clipboard
object
Companion
Properties
in
Celsius
Link copied to clipboard
@get:
JvmName
(
name
=
"getCelsius"
)
val
inCelsius
:
Double
Returns the mass in kilograms.
in
Fahrenheit
Link copied to clipboard
@get:
JvmName
(
name
=
"getFahrenheit"
)
val
inFahrenheit
:
Double
Returns the mass in milligrams.
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Temperature
)
:
Int
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String