| Constructor and Description |
|---|
ConstantValue(double constant) |
ConstantValue(int constant) |
ConstantValue(java.lang.Object constant) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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() |
java.lang.String |
toString() |
public ConstantValue(java.lang.Object constant)
public ConstantValue(int constant)
public ConstantValue(double constant)
public java.lang.Object getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isStringConstant()
ValueisStringConstant in interface Valuepublic boolean isFalseConstant()
public boolean isTrueConstant()
public boolean isZeroConstant()
public boolean isNullConstant()
ValueisNullConstant in interface Valuepublic boolean isOneConstant()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object