org.apache.bcel.classfile
public final class ConstantFloat extends Constant implements ConstantObject
See Also: Constant
Constructor Summary | |
---|---|
ConstantFloat(float bytes) | |
ConstantFloat(ConstantFloat c)
Initialize from another object. |
Method Summary | |
---|---|
void | accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. |
void | dump(DataOutputStream file)
Dump constant float to file stream in binary format.
|
float | getBytes() |
Object | getConstantValue(ConstantPool cp) |
void | setBytes(float bytes) |
String | toString() |
Parameters: bytes Data
Parameters: v Visitor object
Parameters: file Output file stream
Throws: IOException
Returns: data, i.e., 4 bytes.
Returns: Float object
Parameters: bytes the raw bytes that represent this float
Returns: String representation.