|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.vutbr.fit.racedetector.ARInfo.ProblemAccess
public class ARInfo.ProblemAccess
This class represents the problematic access which was detected when someone else was in atomicity section of this variable.
Field Summary | |
---|---|
java.lang.String |
curLocation
|
RaceDetector.Operation |
curOperation
|
java.lang.Thread |
curThread
|
Constructor Summary | |
---|---|
ARInfo.ProblemAccess(java.lang.Thread cThread,
java.lang.String cLoc,
RaceDetector.Operation cOper)
Constructor - information concerning the problematic access. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object ac)
Returns true if the given object is of type ProblemAccess and program locations and threads are the same. |
int |
hashCode()
Returns hashCode of this Object which is actually the hash code of the program location and thread. |
java.lang.String |
toString()
Give a text representation of problematic access - usable also for printing warnings. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final java.lang.Thread curThread
public final java.lang.String curLocation
public final RaceDetector.Operation curOperation
Constructor Detail |
---|
public ARInfo.ProblemAccess(java.lang.Thread cThread, java.lang.String cLoc, RaceDetector.Operation cOper)
cThread
- Thread which wanted to access the variable.cLoc
- Its location in the code.cOper
- Operation it wanted to perform.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object ac)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |