forked from nus-cs2113-AY2324S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/AY2324S2-CS2113-T13-1/tp
- Loading branch information
Showing
6 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Andy YUNG | ||
|
||
GitHub username: andy123qq4 | ||
|
||
Student from HKUST, studying computer science and business. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Heinz Huang | ||
|
||
github username: Geinzit | ||
GitHub username: Geinzit | ||
|
||
Professional Gamer. Amateur Coder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@startuml | ||
|
||
class Calculator { | ||
- Stack<Double> numStack | ||
- Stack<String> opStack | ||
+ calculate(sb: StringBuilder): double | ||
- calculateTwo(num1: double, num2: double, op: String): double | ||
- toSuffix(formula: ArrayList<Object>): ArrayList<Object> | ||
- prior(op1: String, op2: String): boolean | ||
- getPriority(op: String): int | ||
- toFormula(sb: StringBuilder): ArrayList<Object> | ||
} | ||
|
||
@enduml |