|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjef.dna.constantInfo.impl.ConstantAncestor
jef.dna.constantInfo.impl.ConstantLong
@ClosingCpInfo public class ConstantLong
| Field Summary | |
|---|---|
protected static java.lang.String |
className
|
protected static Logger |
logger
|
protected java.lang.String |
type
|
| Fields inherited from class jef.dna.constantInfo.impl.ConstantAncestor |
|---|
cpt, tag |
| Constructor Summary | |
|---|---|
ConstantLong()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
The clone() method will return a new instance whose reference to the
containing ConstantPoolTable instance is set to null. |
void |
fromStream(java.io.DataInputStream dis)
This method does not perform anything. |
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. |
protected void |
innerValidations(ConstantPoolTable cpt)
|
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. |
void |
toStream(java.io.DataOutputStream dos)
This method does not perform anything. |
| Methods inherited from class jef.dna.constantInfo.impl.ConstantAncestor |
|---|
getCpt, getTag, getType, setCpt, setTag, updateRefs, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jef.dna.constantInfo.ConstantInfo |
|---|
getCpt, getTag, getType, setCpt, setTag, updateRefs, validate |
| Field Detail |
|---|
protected java.lang.String type
protected static java.lang.String className
protected static Logger logger
| Constructor Detail |
|---|
public ConstantLong()
| Method Detail |
|---|
public int getHighBytes()
ConstLong
getHighBytes in interface ConstLongpublic void setHighBytes(int highB)
ConstLong
setHighBytes in interface ConstLonghighB - The high bytespublic int getLowBytes()
ConstLong
getLowBytes in interface ConstLongpublic void setLowBytes(int lowB)
ConstLong
setLowBytes in interface ConstLonglowB - The low bytes
public void toStream(java.io.DataOutputStream dos)
throws DnaSerializationException
ConstantAncestor
toStream in interface ConstantInfotoStream in class ConstantAncestordos - The DataOutputStream to write the object to
DnaSerializationException
public void fromStream(java.io.DataInputStream dis)
throws DnaDeserializationException
ConstantAncestor
fromStream in interface ConstantInfofromStream in class ConstantAncestordis - The DataInputStream for reading the Constant Info fields
DnaDeserializationException
protected void innerValidations(ConstantPoolTable cpt)
throws ConstantInfoValidationException,
ConstantInfoAttributeOutOfRangeException
innerValidations in class ConstantAncestorConstantInfoValidationException
ConstantInfoAttributeOutOfRangeException
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone() method will return a new instance whose reference to the
containing ConstantPoolTable instance is set to null. It is up
to you appropriately setting it to the correct value.
clone in interface ConstantInfoclone in class ConstantAncestorjava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||