Measured
Toggle table of contents
0.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Measured
Measured
/
io.nacular.measured.units
/
InverseUnits
Inverse
Units
class
InverseUnits
<
T
:
Units
>
(
val
unit
:
T
)
:
Units
(
source
)
The inverse of a given Units.
Parameters
unit
this is the inverse of
Members
Members & Extensions
Constructors
Inverse
Units
Link copied to clipboard
constructor
(
unit
:
T
)
Properties
ratio
Link copied to clipboard
val
ratio
:
Double
suffix
Link copied to clipboard
val
suffix
:
String
unit
Link copied to clipboard
val
unit
:
T
Functions
div
Link copied to clipboard
operator
fun
<
A
:
Units
>
InverseUnits
<
A
>
.
div
(
other
:
A
)
:
Measure
<
InverseUnits
<
Square
<
A
>
>
>
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
times
Link copied to clipboard
@
JvmName
(
name
=
"times8"
)
operator
fun
<
A
:
Units
>
InverseUnits
<
A
>
.
times
(
other
:
A
)
:
Double
@
JvmName
(
name
=
"times9"
)
operator
fun
<
A
:
Units
,
B
:
Units
>
InverseUnits
<
A
>
.
times
(
other
:
B
)
:
UnitsRatio
<
B
,
A
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String