|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jeops.conflict.ConflictSetElement
An element present in the conflict set.
Constructor Summary | |
ConflictSetElement(int ruleIndex,
java.lang.Object[] objects,
java.lang.Object[][] localObjects)
Class constructor. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this object with the given one. |
java.lang.Object[][] |
getLocalObjects()
Returns the objects bound to the locally declared variables. |
java.lang.Object[] |
getObjects()
Returns the objects bound to the declared variables. |
int |
getRuleIndex()
Returns the index of the fireable rule. |
boolean |
isDeclared(java.lang.Object obj)
Checks whether a given object is one of the objects bound to the declared variables in this element. |
boolean |
isLocallyDeclared(java.lang.Object obj)
Checks whether a given object is one of the objects bound to the locally declared variables in this element. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ConflictSetElement(int ruleIndex, java.lang.Object[] objects, java.lang.Object[][] localObjects)
ruleIndex
- the index of the fireable rule.objects
- the objects bound to the declared variables.localOjects
- the the dependency table between the objects bound
to the to the locally declared variables and the objects
bound to the normal declarations.Method Detail |
public int getRuleIndex()
public java.lang.Object[] getObjects()
public boolean isDeclared(java.lang.Object obj)
obj
- the object to be checked.true
if the given object bound to one of the
declared variables in this element; false
otherwise.public java.lang.Object[][] getLocalObjects()
public boolean isLocallyDeclared(java.lang.Object obj)
obj
- the object to be checked.true
if the given object bound to one of the
locally declared variables in this element;
false
otherwise.public boolean equals(java.lang.Object obj)
obj
- the object to be comparedtrue
if the two objects represent the same
conflict set element; false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |