Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- performAction(ActionEvent) - Method in class com.project.calculator.Logic
-
Handles the button press events and performs the appropriate action based on the input.
- performOperation(double, double, String) - Static method in class com.project.calculator.PostfixEvaluation
-
Performs a mathematical operation on two operands based on the given operator.
- PostfixEvaluation - Class in com.project.calculator
-
The
PostfixEvaluation
class evaluates a mathematical expression in postfix notation using a stack-based approach. - PostfixEvaluation(List<String>, MainUI) - Constructor for class com.project.calculator.PostfixEvaluation
-
Constructs a
PostfixEvaluation
object and evaluates the given postfix expression. - precedence(String) - Method in class com.project.calculator.InfixToPostfix
-
Checks the precedence of the operator.
- PRIMARY_DARK_COLOR - Variable in class com.project.calculator.BaseUI
-
The primary color used for the dark mode background.
- PRIMARY_LIGHT_COLOR - Variable in class com.project.calculator.BaseUI
-
The primary color used for the light mode background.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form