File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/javax/money Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 9696 *
9797 * @author Anatole Tresch
9898 * @author Werner Keil
99- * @version 0.8.2
99+ * @version 1.0.0
100100 * @see #with(MonetaryOperator)
101101 */
102102public interface MonetaryAmount extends CurrencySupplier , NumberSupplier , Comparable <MonetaryAmount >{
@@ -587,6 +587,9 @@ default boolean isZero(){
587587 * Returns a {@code MonetaryAmount} whose value is <code>+this</code>, with rounding according to
588588 * the context settings.
589589 *
590+ * <p>This method, which simply returns this {@code MonetaryAmount}
591+ * is included for symmetry with the unary minus method {@link #negate()}.
592+ *
590593 * @return {@code this}, rounded as necessary. A zero result will have a scale of 0.
591594 * @throws ArithmeticException if rounding fails.
592595 * @see java.math.BigDecimal#plus()
You can’t perform that action at this time.
0 commit comments