mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[docs] Build with JavaDoc 17 and add missing docs (#6220)
Co-authored-by: Sam Carlberg <sam.carlberg@gmail.com>
This commit is contained in:
@@ -20,6 +20,12 @@ public final class UnitBuilder<U extends Unit<U>> {
|
||||
private String m_name;
|
||||
private String m_symbol;
|
||||
|
||||
/**
|
||||
* Creates a new unit builder object, building off of a base unit. The base unit does not have to
|
||||
* be <i>the</i> base unit of its unit system; furlongs work just as well here as meters.
|
||||
*
|
||||
* @param base the unit to base the new unit off of
|
||||
*/
|
||||
public UnitBuilder(U base) {
|
||||
this.m_base = Objects.requireNonNull(base, "Base unit cannot be null");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user