[docs] Build with JavaDoc 17 and add missing docs (#6220)

Co-authored-by: Sam Carlberg <sam.carlberg@gmail.com>
This commit is contained in:
Tyler Veness
2024-01-19 23:42:09 -08:00
committed by GitHub
parent 9ec27c1202
commit 77c09b9ce2
54 changed files with 3527 additions and 26 deletions

View File

@@ -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");
}