|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttecgraf.javautils.jexpression.parser.model.Exp
tecgraf.javautils.jexpression.parser.model.Question
public class Question
Classe que armazena a operação ternária de 'if-then-else'. Ex: a ? b : c, a < b ? a : b
| Constructor Summary | |
|---|---|
Question(Exp condition,
Exp then,
Exp otherwise)
Construtor. |
|
| Method Summary | |
|---|---|
Exp |
getCondition()
Condição. |
Exp |
getOtherwise()
Caso contrário. |
Exp |
getThen()
Ação. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Question(Exp condition,
Exp then,
Exp otherwise)
condition - condição.then - ação.otherwise - caso contrário.| Method Detail |
|---|
public Exp getCondition()
public Exp getThen()
public Exp getOtherwise()
public String toString()
toString in class Exp
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||