Advanced Usage
Table of Contents
Benefits
Setup
Usage
- Basic
-
Advanced
Sorry, I’m still writing up formal explanations on the following:
- defining more complicated bounds on generic quantity parameters
- the bundled type-safe math library (a superset of
kotlin.math
) - units-of-measure’s serialization & introspection capabilities
∠
, units-of-measure’s 8th base dimension
For now, you can take a look at these examples demonstrating said features:
- Benefits: Safe Flexibility
- type-safe math library example
- complex generic bounds via “proof-passing”
- Team846 Kapuchin Control System Grapher
- serialization & introspection support via
UomConverter<...>
- serialization & introspection support via
- units-of-measure’s Bundled SI Quantities & Dimensions
- angle as a base dimension via the
A
dimension parameter
- angle as a base dimension via the
‹ Basic Usage Back to Home ›