Package chapters.onJoran.calculator

Class Summary
AddAction This action adds the two integers at the top of the stack (they are removed) and pushes the result to the top the stack.
Calculator1 This examples illustrates collaboration between multiple actions through the common execution context stack.
Calculator2 This examples illustrates collaboration between multiple actions through the common execution context stack.
ComputationAction1 ComputationAction1 will print the result of the compuration made by children elements but only if the compuration itself is named, that is if the name attribute of the associated computation element is not null.
ComputationAction2 ComputationAction2 will print the result of the compuration made by children elements but only if the computation itself is named, that is if the name attribute of the associated computation element is not null.
LiteralAction This action converts the value attribute of the associated element to an integer and pushes the resulting Integer object on top of the execution context stack.
MultiplyAction This action multiplies the two integers at the top of the stack (they are removed) and pushes the result on top the stack.
 



Copyright © 2005-2013 QOS.ch. All Rights Reserved.