Unit Constructor Function
A functional interface for constructing new units without relying on reflection.
Parameters
<U>
the type of the unit
Functions
Link copied to clipboard
abstract fun create(baseUnit: U, toBaseUnits: UnaryFunction, fromBaseUnits: UnaryFunction, name: String, symbol: String): U
Creates a new unit instance based on its relation to the base unit of measure.