public class UntypedIntOrFloatConstant extends UntypedConstant
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
Value |
defineType(Type t) |
boolean |
equals(Object c) |
int |
hashCode()
Returns a hash code for this DoubleConstant object.
|
FloatConstant |
toFloatConstant() |
IntConstant |
toIntConstant() |
static UntypedIntOrFloatConstant |
v(int value) |
apply, getType
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toString
public static UntypedIntOrFloatConstant v(int value)
public int hashCode()
public FloatConstant toFloatConstant()
public IntConstant toIntConstant()
public Value defineType(Type t)
defineType
in class UntypedConstant