Package jminusminus
Class CLConstantIntegerInfo
java.lang.Object
jminusminus.CLCPInfo
jminusminus.CLConstantIntegerInfo
Representation of CONSTANT_Integer_info structure.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionshort[]
bytes()
Returns CONSTANT_Integer_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
-
i
public int iThe int number.
-
-
Constructor Details
-
CLConstantIntegerInfo
public CLConstantIntegerInfo(int i) Constructs a CLConstantIntegerInfo object.- Parameters:
i
- the int number.
-
-
Method Details
-
bytes
public short[] bytes()Returns CONSTANT_Integer_info.bytes item.- Returns:
- CONSTANT_Integer_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.
-