edu.wpi.ebob.internal.jem.operations
Class JEMAdditionOperation

java.lang.Object
  extended by edu.wpi.ebob.internal.jem.operations.JEMAbstractInfixOperation
      extended by edu.wpi.ebob.internal.jem.operations.JEMAdditionOperation
All Implemented Interfaces:
IOperation

public final class JEMAdditionOperation
extends JEMAbstractInfixOperation
implements IOperation

Performs the summation (or concatenation, in the case of a String) of two objects.

Author:
Liam Morley

Field Summary
 
Fields inherited from class edu.wpi.ebob.internal.jem.operations.JEMAbstractInfixOperation
MINUS, MOD, PLUS, SLASH, STAR
 
Constructor Summary
JEMAdditionOperation()
           
 
Method Summary
 IObject performOperation(IClassManager cm, IObject[] args)
          This is the same as args[0] + args[1].
 
Methods inherited from class edu.wpi.ebob.internal.jem.operations.JEMAbstractInfixOperation
performOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JEMAdditionOperation

public JEMAdditionOperation()
Method Detail

performOperation

public IObject performOperation(IClassManager cm,
                                IObject[] args)
                         throws RemoteException
This is the same as args[0] + args[1]. There must only be two arguments.

Specified by:
performOperation in interface IOperation
Throws:
RemoteException
See Also:
IOperation.performOperation(IClassManager, IObject[])