|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.vutbr.fit.racedetector.Access
public class Access
This class represents one access of a program. The access is defined by ConTest like program location and access flag (read or write).
Field Summary | |
---|---|
RaceDetector.Operation |
mode
Type of this access (read/write/...). |
java.lang.String |
progLoc
Program location on which this access occurs. |
Constructor Summary | |
---|---|
Access(java.lang.String loc,
RaceDetector.Operation mod)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object ac)
Returns true if the given object is of type Access and program locations are the same. |
int |
hashCode()
Returns hashCode of this Object which is actually the hash code of the program location. |
java.lang.String |
toString()
Returns the text representation of this access. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final java.lang.String progLoc
public final RaceDetector.Operation mode
Constructor Detail |
---|
public Access(java.lang.String loc, RaceDetector.Operation mod)
loc
- mod
- Method Detail |
---|
public boolean equals(java.lang.Object ac)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |