|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.expression4j.sample.custom.operator.OperatorSupRealReal
public class OperatorSupRealReal
implement superior operation between a real and a real.
Constructor Summary | |
---|---|
OperatorSupRealReal()
|
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 |
---|
public OperatorSupRealReal()
Method Detail |
---|
public MathematicalElement compute(MathematicalElement leftElement, MathematicalElement rightElement) throws EvalException
OperatorImpl
compute
in interface OperatorImpl
leftElement
- left element for operator.rightElement
- right element for operator.
EvalException
public int getLeftOperandeType()
OperatorImpl
getLeftOperandeType
in interface OperatorImpl
public java.lang.String getOperatorName()
OperatorImpl
getOperatorName
in interface OperatorImpl
public int getRightOperandeType()
OperatorImpl
getRightOperandeType
in interface OperatorImpl
public boolean isUnaryOperator()
OperatorImpl
isUnaryOperator
in interface OperatorImpl
true
if operator is unary.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |