6767 * @author <a href="mailto:steve@unidata.ucar.edu">Steve Emmerson</a>
6868 * @author <a href="mailto:martin.desruisseaux@geomatys.com">Martin Desruisseaux</a>
6969 * @author <a href="mailto:werner@units.tech">Werner Keil</a>
70- * @version 2.0, April 24 , 2019
70+ * @version 2.1, May 12 , 2019
7171 * @since 1.0
7272 *
7373 * @see <a href="http://en.wikipedia.org/wiki/Units_of_measurement">Wikipedia: Units of measurement</a>
@@ -136,7 +136,7 @@ public interface Unit<Q extends Quantity<Q>> {
136136
137137 /**
138138 * Indicates if this unit is compatible with the unit specified. Units don't need to be equals to be compatible. For example (assuming {@code ONE}
139- * is a dimensionless unit):
139+ * is a dimensionless unit):<br>
140140 *
141141 * <code>
142142 * RADIAN.equals(ONE) == false<br>
@@ -153,7 +153,7 @@ public interface Unit<Q extends Quantity<Q>> {
153153
154154 /**
155155 * Casts this unit to a parameterized unit of specified nature or throw a {@code ClassCastException} if the dimension of the specified quantity and
156- * this unit's dimension do not match. For example:
156+ * this unit's dimension do not match. For example:<br>
157157 *
158158 * <code>
159159 * {@literal Unit<Speed>} C = METRE.multiply(299792458).divide(SECOND).asType(Speed.class);
@@ -234,7 +234,7 @@ public interface Unit<Q extends Quantity<Q>> {
234234
235235 /**
236236 * Returns the result of setting the origin of the scale of measurement to the given value. The returned unit is convertible with all units that are
237- * convertible with this unit. For example the following code:
237+ * convertible with this unit. For example the following code:<br>
238238 *
239239 * <code>
240240 * CELSIUS = KELVIN.shift(273.15);
@@ -252,7 +252,7 @@ public interface Unit<Q extends Quantity<Q>> {
252252
253253 /**
254254 * Returns the result of setting the origin of the scale of measurement to the given value. The returned unit is convertible with all units that are
255- * convertible with this unit. For example the following code:
255+ * convertible with this unit. For example the following code:<br>
256256 *
257257 * <code>
258258 * CELSIUS = KELVIN.shift(273.15);
@@ -269,10 +269,10 @@ public interface Unit<Q extends Quantity<Q>> {
269269
270270 /**
271271 * Returns the result of multiplying this unit by the specified factor. If the factor is an integer value, the multiplication is exact
272- * (recommended). For example:
272+ * (recommended). For example:<br>
273273 *
274274 * <code>
275- * FOOT = METRE.multiply(3048).divide(10000); // Exact definition.
275+ * FOOT = METRE.multiply(3048).divide(10000); // Exact definition.<br>
276276 * ELECTRON_MASS = KILOGRAM.multiply(9.10938188e-31); // Approximation.
277277 * </code>
278278 *
@@ -284,10 +284,10 @@ public interface Unit<Q extends Quantity<Q>> {
284284 Unit <Q > multiply (Number multiplier );
285285
286286 /**
287- * Returns the result of multiplying this unit by the specified factor. For example:
287+ * Returns the result of multiplying this unit by the specified factor. For example:<br>
288288 *
289289 * <code>
290- * FOOT = METRE.multiply(3048).divide(10000); // Exact definition.
290+ * FOOT = METRE.multiply(3048).divide(10000); // Exact definition.<br>
291291 * ELECTRON_MASS = KILOGRAM.multiply(9.10938188e-31); // Approximation.
292292 * </code>
293293 *
@@ -315,7 +315,7 @@ public interface Unit<Q extends Quantity<Q>> {
315315 Unit <?> inverse ();
316316
317317 /**
318- * Returns the result of dividing this unit by a divisor. If the factor is an integer value, the division is exact. For example:
318+ * Returns the result of dividing this unit by a divisor. If the factor is an integer value, the division is exact. For example:<br>
319319 *
320320 * <code>
321321 * GRAM = KILOGRAM.divide(1000); // Exact definition.
@@ -329,7 +329,7 @@ public interface Unit<Q extends Quantity<Q>> {
329329 Unit <Q > divide (Number divisor );
330330
331331 /**
332- * Returns the result of dividing this unit by an approximate divisor. For example:
332+ * Returns the result of dividing this unit by an approximate divisor. For example:<br>
333333 *
334334 * <code>
335335 * GRAM = KILOGRAM.divide(1000d);
0 commit comments