Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
calculator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CSCE 361
starter code
calculator
Commits
191145f4
Commit
191145f4
authored
5 years ago
by
Christopher Bohn
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/edu/unl/cse/csce361/calculator/Calculator.java
+4
-2
4 additions, 2 deletions
src/main/java/edu/unl/cse/csce361/calculator/Calculator.java
with
4 additions
and
2 deletions
src/main/java/edu/unl/cse/csce361/calculator/Calculator.java
+
4
−
2
View file @
191145f4
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment