|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Expression
subinterface for expressions which have a
three operands. The only ternary function in Java is the ternary
if-else construct.
Field Summary | |
static int |
IF
Ternary function type for if-else: (a ? b : c) . |
Method Summary | |
Expression |
getValue1()
Accessor method for the first operand. |
Expression |
getValue2()
Accessor method for the second operand. |
Expression |
getValue3()
Accessor method for the third operand. |
void |
setValue1(Expression e)
Mutator method for the first operand. |
void |
setValue2(Expression e)
Mutator method for the second operand. |
void |
setValue3(Expression e)
Mutator method for the third operand. |
int |
type()
Returns the type of this binary function as one of the constants in this interface. |
Methods inherited from interface org.inxar.jenesis.Expression |
getType |
Methods inherited from interface org.inxar.jenesis.Codeable |
getComment, setComment, toCode, vm |
Field Detail |
public static final int IF
(a ? b : c)
.Method Detail |
public int type()
public void setValue1(Expression e)
public Expression getValue1()
public void setValue2(Expression e)
public Expression getValue2()
public void setValue3(Expression e)
public Expression getValue3()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |