jef.dna.constantInfo
Interface ConstLong

All Superinterfaces:
java.lang.Cloneable, ConstantInfo
All Known Implementing Classes:
ConstantLong

@ClosingCpInfo
public interface ConstLong
extends ConstantInfo

This interface has to be implemented by those classes representing a CONSTANT_Long_info structure. The CONSTANT_Long_info structure is used to represent 8-byte numeric constants.

Author:
Francesco Russo frusso@dev.java.net

Method Summary
 int getHighBytes()
          The unsigned high_bytes and low_bytes items of the CONSTANT_Long_info structure together represent the value of the long constant ((long) high_bytes << 32) + low_bytes, where the bytes of each of high_bytes and low_bytes are stored in big-endian (high byte first) order.
 int getLowBytes()
          The unsigned high_bytes and low_bytes items of the CONSTANT_Long_info structure together represent the value of the long constant ((long) high_bytes << 32) + low_bytes, where the bytes of each of high_bytes and low_bytes are stored in big-endian (high byte first) order.
 void setHighBytes(int highB)
          The unsigned high_bytes and low_bytes items of the CONSTANT_Long_info structure together represent the value of the long constant ((long) high_bytes << 32) + low_bytes, where the bytes of each of high_bytes and low_bytes are stored in big-endian (high byte first) order.
 void setLowBytes(int lowB)
          The unsigned high_bytes and low_bytes items of the CONSTANT_Long_info structure together represent the value of the long constant ((long) high_bytes << 32) + low_bytes, where the bytes of each of high_bytes and low_bytes are stored in big-endian (high byte first) order.
 
Methods inherited from interface jef.dna.constantInfo.ConstantInfo
clone, fromStream, getCpt, getTag, getType, setCpt, setTag, toStream, updateRefs, validate
 

Method Detail

getHighBytes

int getHighBytes()
The unsigned high_bytes and low_bytes items of the CONSTANT_Long_info structure together represent the value of the long constant ((long) high_bytes << 32) + low_bytes, where the bytes of each of high_bytes and low_bytes are stored in big-endian (high byte first) order.

Returns:
int The high bytes

setHighBytes

void setHighBytes(int highB)
The unsigned high_bytes and low_bytes items of the CONSTANT_Long_info structure together represent the value of the long constant ((long) high_bytes << 32) + low_bytes, where the bytes of each of high_bytes and low_bytes are stored in big-endian (high byte first) order.

Parameters:
highB - The high bytes

getLowBytes

int getLowBytes()
The unsigned high_bytes and low_bytes items of the CONSTANT_Long_info structure together represent the value of the long constant ((long) high_bytes << 32) + low_bytes, where the bytes of each of high_bytes and low_bytes are stored in big-endian (high byte first) order.

Returns:
int The low bytes

setLowBytes

void setLowBytes(int lowB)
The unsigned high_bytes and low_bytes items of the CONSTANT_Long_info structure together represent the value of the long constant ((long) high_bytes << 32) + low_bytes, where the bytes of each of high_bytes and low_bytes are stored in big-endian (high byte first) order.

Parameters:
lowB - The low bytes