File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
src/main/java/javax/money Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 9696 *
9797 * @author Anatole Tresch
9898 * @author Werner Keil
99- * @version 1.0.0
99+ * @version 1.0.1
100100 * @see #with(MonetaryOperator)
101101 */
102102public interface MonetaryAmount extends CurrencySupplier , NumberSupplier , Comparable <MonetaryAmount >{
@@ -577,21 +577,22 @@ default boolean isZero(){
577577
578578 /**
579579 * Returns a {@code MonetaryAmount} whose value is <code>-this</code>, and whose scale is
580- * {@code this.scale()}.
580+ * {@code this.scale()}, with rounding according to the context settings .
581581 *
582- * @return {@code -this}.
582+ * @throws ArithmeticException if rounding fails.
583+ * @return {@code -this}, rounded as necessary.
584+ * @see java.math.BigDecimal#negate()
583585 */
584586 MonetaryAmount negate ();
585587
586588 /**
587- * Returns a {@code MonetaryAmount} whose value is <code>+this</code>, with rounding according to
588- * the context settings.
589+ * Returns a {@code MonetaryAmount} whose value is <code>+this</code>.
589590 *
590591 * <p>This method, which simply returns this {@code MonetaryAmount}
591592 * is included for symmetry with the unary minus method {@link #negate()}.
592593 *
593- * @return {@code this}, rounded as necessary . A zero result will have a scale of 0.
594- * @throws ArithmeticException if rounding fails.
594+ * @return {@code this}. A zero result will have a scale of 0.
595+ * @see #negate()
595596 * @see java.math.BigDecimal#plus()
596597 */
597598 MonetaryAmount plus ();
You can’t perform that action at this time.
0 commit comments