[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

@@ -6,6 +6,13 @@ package edu.wpi.first.units;
import java.util.Objects;
/**
* A function that accepts a single {@code double} and returns a {@code double} result. This is used
* to represent arbitrary mapping functions for converting units to and from a base unit
* representation. Temperature units, in particular, typically have an offset from a value in Kelvin
* and may have a multiplication factor added in, which means that units cannot always be
* represented as simple ratios of their base units.
*/
@FunctionalInterface
public interface UnaryFunction {
/**