Class Equality
java.lang.Object
org.biopax.paxtools.pattern.constraint.ConstraintAdapter
org.biopax.paxtools.pattern.constraint.Equality
- All Implemented Interfaces:
Constraint
Checks identity of two elements.
Size = 2.
Checks if e1 == e2.
- Author:
- Ozgun Babur
-
Field Summary
Fields inherited from class org.biopax.paxtools.pattern.constraint.ConstraintAdapter
blacklist, size -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.biopax.paxtools.pattern.constraint.ConstraintAdapter
assertIndLength, canGenerate, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, generate, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, getVariableSize, setSize
-
Constructor Details
-
Equality
public Equality(boolean equals) Constructor with the desired output.- Parameters:
equals- the desired output
-
-
Method Details
-
satisfies
Checks if the two elements are identical or not identical as desired.- Specified by:
satisfiesin interfaceConstraint- Overrides:
satisfiesin classConstraintAdapter- Parameters:
match- current pattern matchind- mapped indices- Returns:
- true if identity checks equals the desired value
-