public class ThreadSpecificObject<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
hash |
private T |
incoming |
private long |
tid |
Constructor and Description |
---|
ThreadSpecificObject(T incoming) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
T |
getIncomingObject()
Gets the incoming object bound to the thread id
|
long |
getThreadIdentifier()
Gets the thread on which this object was created
|
int |
hashCode() |
private final T incoming
private final long tid
private final int hash
public ThreadSpecificObject(T incoming)
public long getThreadIdentifier()
public T getIncomingObject()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object