Quantity
A base interface for quantities. Outlines the common operations to retrieve values and perform mathematical operations.
Parameters
Q
The quantity type implementing this interface.
U
An enum type that contains the units that the quantity's values can be in.
Inheritors
Types
Functions
Link copied to clipboard
Returns a FormattedQuantity representation of the value from this
in the given unit.
Link copied to clipboard
Creates a new instance with the provided rawValue.
Link copied to clipboard
Returns a new instance with the value from this
as negative.