|
|||||||||
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 tokenMethod Detail |
---|
public byte[] getBytes()
byte[]
valuepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- another object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
BigInteger
value. (For
debugging only.)
toString
in class java.lang.Object
String
value
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |