public class FloatConstant extends Constant
| Modifier and Type | Field and Description |
|---|---|
float |
f4value |
visitorInfo| Constructor and Description |
|---|
FloatConstant()
Creates an uninitialized FloatConstant.
|
FloatConstant(float value)
Creates a new FloatConstant with the given float value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Clazz clazz,
ConstantVisitor constantVisitor)
Accepts the given visitor.
|
int |
getTag()
Returns the constant pool info tag that specifies the entry type.
|
float |
getValue()
Returns the float value of this FloatConstant.
|
void |
setValue(float value)
Sets the float value of this FloatConstant.
|
getVisitorInfo, setVisitorInfopublic FloatConstant()
public FloatConstant(float value)
public float getValue()
public void setValue(float value)
public int getTag()
Constantpublic void accept(Clazz clazz, ConstantVisitor constantVisitor)
ConstantCopyright © 2015. All Rights Reserved.