[wpiunits] Documentation improvements (#5932)

This commit is contained in:
Andrew Gasser
2023-11-23 12:57:58 -06:00
committed by GitHub
parent 423fd75fa8
commit 95716eb0cb
18 changed files with 113 additions and 18 deletions

View File

@@ -11,9 +11,7 @@ import java.util.Objects;
* Generic combinatory unit type that represents the proportion of one unit to another, such as
* Meters per Second or Radians per Celsius.
*
* <p>Note that due to restrictions with the Java type system, velocities (change per unit time) are
* represented by the {@link Velocity} class. Accelerations are represented by {@code
* Velocity<Velocity<X>>}, and so on.
* <p>Note: {@link Velocity} is used to represent the velocity dimension.
*
* @param <N> the type of the numerator unit
* @param <D> the type of the denominator unit