Package jminusminus
Class CLConstantFloatInfo
java.lang.Object
jminusminus.CLCPInfo
jminusminus.CLConstantFloatInfo
Representation of CONSTANT_Float_info structure.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionshort[]
bytes()
Returns CONSTANT_Float_info.bytes item.boolean
Return true if this CLCPInfo object is the same as other, and false otherwise.void
write
(CLOutputStream out) Writes the contents of this constant pool item to the specified output stream.
-
Field Details
-
f
public float fThe floating-point number.
-
-
Constructor Details
-
CLConstantFloatInfo
public CLConstantFloatInfo(float f) Constructs a CLConstantFloatInfo object.- Parameters:
f
- the floating-point number.
-
-
Method Details
-
bytes
public short[] bytes()Returns CONSTANT_Float_info.bytes item.- Returns:
- CONSTANT_Float_info.bytes item.
-
write
Writes the contents of this constant pool item to the specified output stream.- Overrides:
write
in classCLCPInfo
- Parameters:
out
- output stream.- Throws:
IOException
- if an error occurs while writing.
-
equals
Return true if this CLCPInfo object is the same as other, and false otherwise.
-