|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An object that implements this interface is defined as an equality operator.
This interface defines the group of equality operators.
All the equality operators must check if the input taken is valid and determine on which type of literals the equality functions will be perfomed.
| Method Summary | |
void |
action(PSStack s)
Executes the action as it is intented. |
| Methods inherited from interface pstypes.PSOperator |
getOperatorToken, isValid |
| Method Detail |
public void action(PSStack s)
The implementor determines the kind of the equality that will be held as well as the type of operands needed.Another
thing that has to be checked is the necessery equlity the object must have,as far as theirs types are concerned.
Precondition : A valid stack is given to method.
Postcondition : The implemented action will be executed.
s - The stack where the operands are stored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||