class CLConstantFloatInfo extends CLCPInfo
| Modifier and Type | Field and Description |
|---|---|
float |
f
The floating-point number.
|
| Constructor and Description |
|---|
CLConstantFloatInfo(float f)
Construct a CLConstantFloatInfo object.
|
| Modifier and Type | Method and Description |
|---|---|
short[] |
bytes()
Return CONSTANT_Float_info.bytes item.
|
boolean |
equals(Object obj) |
void |
write(CLOutputStream out)
Write the contents of this constant pool item to the specified output
stream.
|
void |
writeToStdOut(PrettyPrinter p)
Write the content of this object to STDOUT in a format similar to that of
javap.
|
public CLConstantFloatInfo(float f)
f - the floating-point number.public short[] bytes()
public void write(CLOutputStream out) throws IOException
CLCPInfowrite in class CLCPInfoout - output stream.IOException - if an error occurs while writing.public void writeToStdOut(PrettyPrinter p)
CLCPInfowriteToStdOut in class CLCPInfop - for pretty printing with indentation.