fr.umlv.corosol.classfile.constant
Interface JConstantFloat
- All Superinterfaces:
- JClassFileItem, JConstant, JLoadableConstant, JObject
- All Known Implementing Classes:
- DefaultJConstantFloat
public interface JConstantFloat
- extends JLoadableConstant
A JConstantFloat object represents a
CONSTANT_Float_info entry of a constant pool.
A CONSTANT_Float_info entry is used to represent an
float constant.
- Author:
- Christophe Deleray
- See Also:
JConstantPool
| Fields inherited from interface fr.umlv.corosol.classfile.constant.JConstant |
CONSTANT_CLASS, CONSTANT_DOUBLE, CONSTANT_FIELDREF, CONSTANT_FLOAT, CONSTANT_INTEGER, CONSTANT_INTERFACE_METHODREF, CONSTANT_LONG, CONSTANT_METHODREF, CONSTANT_NAME_AND_TYPE, CONSTANT_STRING, CONSTANT_UTF8 |
|
Method Summary |
float |
getFloatValue()
Returns the float value stored in this constant pool entry. |
void |
setFloatValue(float floatValue)
Sets the float value stored in this constant pool entry with the
specified value. |
getFloatValue
float getFloatValue()
- Returns the float value stored in this constant pool entry.
- Returns:
- the float value stored in this constant pool entry
setFloatValue
void setFloatValue(float floatValue)
- Sets the float value stored in this constant pool entry with the
specified value.
- Parameters:
floatValue - an float value to be stored in this entry