BinaryOperator Interface

com.bea.p13n.expression.operator
BinaryOperator Interface

public interface BinaryOperator

An interface for concrete binary operator classes.


All Known Implementing Classes
CollectionOperator, Instanceof, ComparativeOperator, LogicalOr, LogicalAnd, MathSubtract, MathRandom, MathPow, MathMultiply, MathMin, MathMax, MathIeeeRemainder, MathDivide, MathAtan2, MathAdd, StringStartsWith, StringLike, StringEqualsIgnoreCase, StringEndsWith, StringContains, StringConcat, StringCompareToIgnoreCase, StringCharAt

Field Summary

public static final int
LHS_INDEX
The index of left hand side operand of this binary operator.
public static final int
RHS_INDEX
The index of right hand side operand of this binary operator.
 

Method Summary

public Object
getLeftHandSide()
Returns left hand side operand of this binary operator.
public Object
getRightHandSide()
Returns right hand side operand of this binary operator.

Field Detail

LHS_INDEX

public static final int LHS_INDEX
The index of left hand side operand of this binary operator.


RHS_INDEX

public static final int RHS_INDEX
The index of right hand side operand of this binary operator.

 

Method Detail

getLeftHandSide() Method

public Object getLeftHandSide()
Returns left hand side operand of this binary operator.

Returns

The left hand side operand.

getRightHandSide() Method

public Object getRightHandSide()
Returns right hand side operand of this binary operator.

Returns

The left hand side operand.