|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.util.XPCRC.XPCRCValue
Simple CRC data class representing a 64-bit CRC value. The representation consists of two int values that represent two sets of 32 bits. A 64-bit long value was not chosen because of problems extract high and low bits as well as difficulties created by signed data types.
If this data structure is used to pass around 32-bit CRC values, expect m_crcB to always be 0 and m_crcA to be the 32-bit CRC value.
Field Summary | |
int |
m_crcA
m_crcA to be the 32-bit CRC value. |
int |
m_crcB
m_crcB to always be 0. |
Constructor Summary | |
XPCRC.XPCRCValue(int crcA)
constructor for XPCRCValue Instantiation. |
|
XPCRC.XPCRCValue(int crcA,
int crcB)
Constructor for XPCRCValue Instantiation. |
Method Summary | |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int m_crcA
public int m_crcB
Constructor Detail |
public XPCRC.XPCRCValue(int crcA, int crcB)
crcA
- to be the 32-bit CRC value.crcB
- to be always 0, can be changed with this constructor.public XPCRC.XPCRCValue(int crcA)
crcA
- to be the 32-bit CRC value.Method Detail |
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |