Skip to content
Snippets Groups Projects
Commit 191145f4 authored by Christopher Bohn's avatar Christopher Bohn :thinking:
Browse files

Updated JavaDoc to note that a couple of parameters may be updated

parent b88da6ab
No related branches found
No related tags found
No related merge requests found
......@@ -87,8 +87,10 @@ public class Calculator {
*
* @param type the type of token received from the user
* @param token the token received from the user
* @param stack an array representing the calculator's stack
* @param stackPointer the value indicating the top of the stack
* @param stack an array representing the calculator's stack; this parameter may be updated when the
* method returns
* @param stackPointer the value indicating the top of the stack; this parameter may be updated when the method
* returns
* @return the message to be displayed to the user, or {@code Null} if no message is to be displayed
*/
String calculate(int type, char[] token, double[] stack, AtomicInteger stackPointer) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment