fr.expression4j.basic.operatorimpl.complex
Class OperatorMultiplyComplexComplex

java.lang.Object
  extended by fr.expression4j.basic.operatorimpl.complex.OperatorMultiplyComplexComplex
All Implemented Interfaces:
OperatorImpl

public class OperatorMultiplyComplexComplex
extends java.lang.Object
implements OperatorImpl


Constructor Summary
OperatorMultiplyComplexComplex()
           
 
Method Summary
 MathematicalElement compute(MathematicalElement leftElement, MathematicalElement rightElement)
          Set the operator to the given element.
 int getLeftOperandeType()
          Get the left operande managed by this operator implementation.
 java.lang.String getOperatorName()
          Get the operator name associated to this operator implementation.
 int getRightOperandeType()
          Get the right operande managed by this operator implementation.
 boolean isUnaryOperator()
          Tell if operator is an unary or bynary operator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorMultiplyComplexComplex

public OperatorMultiplyComplexComplex()
Method Detail

isUnaryOperator

public boolean isUnaryOperator()
Description copied from interface: OperatorImpl
Tell if operator is an unary or bynary operator.

Specified by:
isUnaryOperator in interface OperatorImpl
Returns:
true if operator is unary.

getLeftOperandeType

public int getLeftOperandeType()
Description copied from interface: OperatorImpl
Get the left operande managed by this operator implementation.

Specified by:
getLeftOperandeType in interface OperatorImpl
Returns:
the left operande type of the operator.

getRightOperandeType

public int getRightOperandeType()
Description copied from interface: OperatorImpl
Get the right operande managed by this operator implementation.

Specified by:
getRightOperandeType in interface OperatorImpl
Returns:
the right operande type of the operator.

getOperatorName

public java.lang.String getOperatorName()
Description copied from interface: OperatorImpl
Get the operator name associated to this operator implementation.

Specified by:
getOperatorName in interface OperatorImpl
Returns:
the operator name associated to this operator implementation.

compute

public MathematicalElement compute(MathematicalElement leftElement,
                                   MathematicalElement rightElement)
                            throws EvalException
Description copied from interface: OperatorImpl
Set the operator to the given element.

Specified by:
compute in interface OperatorImpl
Parameters:
leftElement - left element for operator.
rightElement - right element for operator.
Returns:
result.
Throws:
EvalException