public final class BooleanConstant extends BooleanValue
value: booleanthis.op = Operator.CONSTvalue => Integer.MAX_VALUE, -Integer.MAX_VALUE| Modifier and Type | Field and Description |
|---|---|
static BooleanConstant |
FALSE |
static BooleanConstant |
TRUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue()
Returns the primitive boolean representation of this label.
|
static BooleanConstant |
constant(boolean value)
Returns the BooleanConstant that represents the given boolean value.
|
int |
label()
Returns the label for this value.
|
Operator |
op()
Returns Operator.CONST.
|
String |
toString()
Returns a string representation of this boolean value.
|
compareTopublic static final BooleanConstant FALSE
public static final BooleanConstant TRUE
public boolean booleanValue()
public static BooleanConstant constant(boolean value)
public int label()
label in class BooleanValuepublic Operator op()
op in class BooleanValue
© Emina Torlak 2005-2012