Package jminusminus
Class CLConstantLongInfo
java.lang.Object
jminusminus.CLCPInfo
jminusminus.CLConstantLongInfo
Representation of CONSTANT_Long_info structure.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this CLCPInfo object is the same as other, and false otherwise.short[]
Returns CONSTANT_Long_info.high_bytes item.short[]
lowBytes()
Returns CONSTANT_Long_info.low_bytes item.void
write
(CLOutputStream out) Writes the contents of this constant pool item to the specified output stream.
-
Field Details
-
l
public long lThe long number.
-
-
Constructor Details
-
CLConstantLongInfo
public CLConstantLongInfo(long l) Constructs a CLConstantLongInfo object.- Parameters:
l
- the long number.
-
-
Method Details
-
lowBytes
public short[] lowBytes()Returns CONSTANT_Long_info.low_bytes item.- Returns:
- CONSTANT_Long_info.low_bytes item.
-
highBytes
public short[] highBytes()Returns CONSTANT_Long_info.high_bytes item.- Returns:
- CONSTANT_Long_info.high_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.
-