Constructor and Description |
---|
ConstantValue(double constant) |
ConstantValue(int constant) |
ConstantValue(Object constant) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
getValue() |
int |
hashCode() |
boolean |
isFalseConstant() |
boolean |
isNullConstant()
Is this value a null constant?
|
boolean |
isOneConstant() |
boolean |
isStringConstant()
Is this value a string constant?
|
boolean |
isTrueConstant() |
boolean |
isZeroConstant() |
String |
toString() |
public ConstantValue(Object constant)
public ConstantValue(int constant)
public ConstantValue(double constant)
public Object getValue()
public boolean isStringConstant()
Value
isStringConstant
in interface Value
public boolean isFalseConstant()
public boolean isTrueConstant()
public boolean isZeroConstant()
public boolean isNullConstant()
Value
isNullConstant
in interface Value
public boolean isOneConstant()