| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | bytes
Byte array representation of the token. |
| private int | hash
Cached hash code. |
| Access | Constructor and Description |
|---|---|
| pack-priv | ConsistencyToken(byte[]
byte array representing the token bytes)Create a new |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the objects are equalanother object o)Overrides java. |
| public byte[] | |
| public int | |
| public String | Returns: aString valueOverrides java. BigInteger value.
|
| bytes | back to summary |
|---|---|
| private final byte[] bytes Byte array representation of the token. | |
| hash | back to summary |
|---|---|
| private int hash Cached hash code. | |
| ConsistencyToken | back to summary |
|---|---|
| pack-priv ConsistencyToken(byte[] bytes) Create a new
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Check whether this object is equal to another object.
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() Get the byte array representation of the consistency token.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Calculate the hash code.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a string representation of the consistency token by
converting it to a
| |