Package jminusminus
Class CLConstantIntegerInfo
java.lang.Object
jminusminus.CLCPInfo
jminusminus.CLConstantIntegerInfo
Representation of CONSTANT_Integer_info structure.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshort[]bytes()Returns CONSTANT_Integer_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
-
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:
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.
-