-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new plus/minus methods for combining CurrencyScenarioArrays #1577
Conversation
* The currency must be the same as the currency of this array. | ||
* | ||
* @param amount the amount to add | ||
* @return a new array containing the values from this array added to the values in the other array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite right
* The arrays must have the same size. | ||
* | ||
* @param other another array of multiple currency values. | ||
* @return a new array containing the values from this array added with the values from the other array subtracted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not "added"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confession time; I copy/pasted all of these new Javadoc from CurrencyAmountArray!
Will clean that up as well.
* The currency must be the same as the currency of this array. | ||
* | ||
* @param amount the amount to subtract | ||
* @return a new array containing the values from this array with the values from the amount subtracted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's wrong with this one? Only issue I can see is 'values' rather than value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@return a new array containing the values from this array with the specified amount subtracted
No description provided.