Package ca.bcit.cst.comp2526.assign2b.solution

Interface Summary
Operation Abstracton for mathmatical operations.
 

Class Summary
AbstractOperation Abstracton for mathmatical operations.
AdditionOperation Abstract the addition of two numbers.
DivisionOperation Abstract the division of two numbers.
Main A program to display the result of a Reverse Polish Notation (RPN) formula.
MultiplicationOperation Abstract the multiplication of two numbers.
RPNCalculator Perform discrete operations on operands stored in a stack.
RPNCalculatorUtils Abstract the processing of the formula with an RPNCalculaotr.
Stack A Last In First Out (LIFO) data structure that holds integers.
SubtractionOperation Abstract the subtraction of two numbers.
 

Exception Summary
InvalidOperationTypeException Thrown to indicate that an operation type is not valid for a calculator.
StackOverflowException Thrown when a value is pushed onto a stack but the stack is full.
StackUnderflowException Thrown when a value is poped or looked at a stack but the stack is empty.