| Modifier and Type | Field and Description |
|---|---|
| private long |
| Modifier and Type | Method and Description |
|---|---|
| public static long | compare(TransactionId a, TransactionId b)
Return 0 if a == b, +ve number if a > b -ve number if a < b |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| protected long | |
| public int | getMaxStoredSize()
Implements org. TransactionId method |
| public int | getTypeFormatId()
Implements org. Return my format identifier. |
| public int | |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. Read this in |
| public String | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. Write this out. |
| id | back to summary |
|---|---|
| private long id | |
| XactId | back to summary |
|---|---|
| public XactId(long id) | |
| XactId | back to summary |
|---|---|
| public XactId() | |
| compare | back to summary |
|---|---|
| public static long compare(TransactionId a, TransactionId b) Return 0 if a == b, +ve number if a > b -ve number if a < b | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getId | back to summary |
|---|---|
| protected long getId() | |
| getMaxStoredSize | back to summary |
|---|---|
| public int getMaxStoredSize() Implements org. TransactionId method | |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Return my format identifier.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException Implements java. Read this in
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write this out.
| |