public final class ThreadId extends Object
| Constructor and Description |
|---|
ThreadId(byte[] id) |
| Modifier and Type | Method and Description |
|---|---|
static ThreadId |
createFresh() |
boolean |
equals(Object obj)
Indicates whether some other object is equal to this one.
|
byte[] |
getBytes() |
int |
hashCode()
Returns a hash code value for the object.
|
String |
toString()
Returns a string representation of the object.
|
public static ThreadId createFresh()
public boolean equals(Object obj)
equals in class Objectobj - the reference object with which to compare.true if this object is the same as the obj argument;
false otherwise.Object.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()public byte[] getBytes()