diff --git a/source/docs/software/basic-programming/java-units.rst b/source/docs/software/basic-programming/java-units.rst index 729ef95c38..9a6d38ec67 100644 --- a/source/docs/software/basic-programming/java-units.rst +++ b/source/docs/software/basic-programming/java-units.rst @@ -40,7 +40,7 @@ Java Generics ^^^^^^^^^^^^^ Units of measurement can be complex expressions involving various dimension, such as distance, time, and velocity. Nested `generic type parameters `__ allow for the definition of units that can represent such complex expressions. Generics are used to keep the library concise, reusable, and extensible, but it tends to be verbose due to the syntax for Java generics. -For instance, consider the type ``Measure>``. This type represents a measurement for velocity, where the velocity itself is expressed as a unit of distance per unit of time. This nested structure allows for the representation of units like meters per second or feet per minute. Similarly, the type ``Measure>>`` represents a measurement for a ratio of voltage to velocity. This type is useful for representing quantities like volts per meter per second. +For instance, consider the type ``Measure>``. This type represents a measurement for velocity, where the velocity itself is expressed as a unit of distance per unit of time. This nested structure allows for the representation of units like meters per second or feet per minute. Similarly, the type ``Measure>>`` represents a measurement for a ratio of voltage to velocity. This type is useful for representing quantities like volts per meter per second, the unit of measure for some :ref:`feedforward` gains. It's important to note that not all measurements require such complex nested types. For example, the type ``Measure`` is sufficient for representing simple units like meters or feet. However, for more complex units, the use of nested generic type parameters is essential.