toggle menu
Measured
0.4.1
common
switch theme
search in API
Measured
/
io.nacular.measured.units
/
Mass
Mass
open
class
Mass
(
val
suffix
:
String
,
val
ratio
:
Double
=
1.0
)
:
Units
(
source
)
Units to measure how much matter is in an object.
Members
Constructors
Mass
Link copied to clipboard
constructor
(
suffix
:
String
,
ratio
:
Double
=
1.0
)
Types
Companion
Link copied to clipboard
object
Companion
Inherited properties
ratio
Link copied to clipboard
val
ratio
:
Double
=
1.0
suffix
Link copied to clipboard
val
suffix
:
String
Functions
div
Link copied to clipboard
operator
fun
div
(
other
:
Mass
)
:
Double
Inherited functions
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