Package jminusminus
Class CLConstantFloatInfo
java.lang.Object
jminusminus.CLCPInfo
jminusminus.CLConstantFloatInfo
Representation of CONSTANT_Float_info structure.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshort[]bytes()Returns CONSTANT_Float_info.bytes item.booleanReturn true if this CLCPInfo object is the same as other, and false otherwise.voidwrite(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:
writein 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.
-