|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcviceni9.BinaryExpr
cviceni9.PlusExpr
Třída reprezentující výraz s operátorem plus.
Field Summary |
Fields inherited from class cviceni9.BinaryExpr |
left, right |
Constructor Summary | |
PlusExpr(Expr left,
Expr right)
Vytvoří uzel binárního výrazu s operátorem plus. |
Method Summary | |
int |
eval()
Provede vyhodnocení výrazu. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlusExpr(Expr left, Expr right)
left
- levý operandright
- pravý operandMethod Detail |
public int eval()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |