|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.drda.ConsistencyToken
final class ConsistencyToken
Class which represents an RDB Package Consistency Token.
| Field Summary | |
|---|---|
private byte[] |
bytes
Byte array representation of the token. |
private int |
hash
Cached hash code. |
| Constructor Summary | |
|---|---|
ConsistencyToken(byte[] bytes)
Create a new ConsistencyToken instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Check whether this object is equal to another object. |
byte[] |
getBytes()
Get the byte array representation of the consistency token. |
int |
hashCode()
Calculate the hash code. |
java.lang.String |
toString()
Return a string representation of the consistency token by converting it to a BigInteger value. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final byte[] bytes
private int hash
| Constructor Detail |
|---|
ConsistencyToken(byte[] bytes)
ConsistencyToken instance.
bytes - byte array representing the token| Method Detail |
|---|
public byte[] getBytes()
byte[] valuepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - another object
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
BigInteger value. (For
debugging only.)
toString in class java.lang.ObjectString value
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||