|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.satline.expr.BooleanConstant
public class BooleanConstant
Definition of boolean constant expression.
| Field Summary | |
|---|---|
static BooleanConstant |
FALSE
|
static BooleanConstant |
TRUE
|
| Constructor Summary | |
|---|---|
BooleanConstant()
Default constructor. |
|
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object obj)
Compares this object against the specified object. |
|
static BooleanConstant |
getInstance(boolean value)
Return boolean constant. |
|
java.lang.Boolean |
getValue()
Get value. |
|
|
greet(ExpressionWalker<E,F> visitor,
F arg)
Handle visit of ExpressionWalker. |
|
int |
hashCode()
|
|
void |
setValue(java.lang.Boolean value)
Set value. |
|
java.lang.String |
toString()
Get string representation. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final BooleanConstant FALSE
public static final BooleanConstant TRUE
| Constructor Detail |
|---|
public BooleanConstant()
| Method Detail |
|---|
public static BooleanConstant getInstance(boolean value)
value - value of constant
public java.lang.Boolean getValue()
public void setValue(java.lang.Boolean value)
value - - string value.
public <E,F> E greet(ExpressionWalker<E,F> visitor,
F arg)
throws ExpressionException
greet in interface Expressionvisitor - - the ExpressionWalker visiting this objectarg - - implementation dependent argument
ExpressionExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - - object to compare with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||