|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.expr.BooleanConstant
public class BooleanConstant
Definition of boolean constant expression.
| Field Summary | |
|---|---|
static BooleanConstant |
FALSE
Constant value false. |
static BooleanConstant |
TRUE
Constant value true. |
| Constructor Summary | |
|---|---|
BooleanConstant()
Default constructor. |
|
| Method Summary | ||
|---|---|---|
boolean |
equals(Object obj)
Compares this object against the specified object. |
|
static BooleanConstant |
getInstance(boolean value)
Return boolean constant. |
|
Boolean |
getValue()
Get value. |
|
|
greet(ExpressionWalker<E,F> visitor,
F arg)
Handle visit of ExpressionWalker. |
|
int |
hashCode()
|
|
void |
setValue(Boolean value)
Set value. |
|
String |
toString()
|
|
| 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 Boolean getValue()
public void setValue(Boolean value)
value - boolean value.
public <E,F> E greet(ExpressionWalker<E,F> visitor,
F arg)
throws ExpressionException
Expression
greet in interface Expressionvisitor - the ExpressionWalker visiting this objectarg - implementation dependent argument
ExpressionExceptionpublic String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||