| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final T | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public T | Returns: The incoming object bound to the thread idGets the incoming object bound to the thread id |
| public long | Returns: The thread on which this object was createdGets the thread on which this object was created |
| public int |
| hash | back to summary |
|---|---|
| private final int hash | |
| incoming | back to summary |
|---|---|
| private final T incoming | |
| tid | back to summary |
|---|---|
| private final long tid | |
| ThreadSpecificObject | back to summary |
|---|---|
| public ThreadSpecificObject(T incoming) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) 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.
| |
| getIncomingObject | back to summary |
|---|---|
| public T getIncomingObject() Gets the incoming object bound to the thread id
| |
| getThreadIdentifier | back to summary |
|---|---|
| public long getThreadIdentifier() Gets the thread on which this object was created
| |
| 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
| |