[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

@@ -4,6 +4,15 @@
package edu.wpi.first.units;
/**
* Unit of electic current dimension.
*
* <p>This is the base type for units of current dimension. It is also used to specify the dimension
* for {@link Measure}: <code>Measure&lt;Current&gt;</code>.
*
* <p>Actual units (such as {@link Units#Amps} and {@link Units#Milliamps}) can be found in the
* {@link Units} class.
*/
public class Current extends Unit<Current> {
Current(double baseUnitEquivalent, String name, String symbol) {
super(Current.class, baseUnitEquivalent, name, symbol);