Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/main/java/javax/money/MonetaryAmount.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ default MonetaryAmount with(MonetaryOperator operator){
*
* @param amount the {@code MonetaryAmount} to be compared with this instance.
* @return {@code true} if {@code amount > this}.
* @throws MonetaryException if the amount's currency is not equals to the currency of this instance.
* @throws MonetaryException if the amount's currency is not equal to the currency of this instance.
*/
boolean isGreaterThan(MonetaryAmount amount);

Expand All @@ -196,7 +196,7 @@ default MonetaryAmount with(MonetaryOperator operator){
*
* @param amount the {@link MonetaryAmount} to be compared with this instance.
* @return {@code true} if {@code amount >= this}.
* @throws MonetaryException if the amount's currency is not equals to the currency of this instance.
* @throws MonetaryException if the amount's currency is not equal to the currency of this instance.
*/
boolean isGreaterThanOrEqualTo(MonetaryAmount amount);

Expand All @@ -206,7 +206,7 @@ default MonetaryAmount with(MonetaryOperator operator){
*
* @param amount the {@link MonetaryAmount} to be compared with this instance.
* @return {@code true} if {@code amount < this}.
* @throws MonetaryException if the amount's currency is not equals to the currency of this instance.
* @throws MonetaryException if the amount's currency is not equal to the currency of this instance.
*/
boolean isLessThan(MonetaryAmount amount);

Expand All @@ -216,7 +216,7 @@ default MonetaryAmount with(MonetaryOperator operator){
*
* @param amt the {@link MonetaryAmount} to be compared with this instance.
* @return {@code true} if {@code amount <= this}.
* @throws MonetaryException if the amount's currency is not equals to the currency of this instance.
* @throws MonetaryException if the amount's currency is not equal to the currency of this instance.
*/
boolean isLessThanOrEqualTo(MonetaryAmount amt);

Expand All @@ -226,7 +226,7 @@ default MonetaryAmount with(MonetaryOperator operator){
*
* @param amount the {@link MonetaryAmount} to be compared with this instance.
* @return {@code true} if {@code amount == this}.
* @throws MonetaryException if the amount's currency is not equals to the currency of this instance.
* @throws MonetaryException if the amount's currency is not equal to the currency of this instance.
*/
boolean isEqualTo(MonetaryAmount amount);

Expand Down