Class SameRule
java.lang.Object
nz.org.riskscape.engine.types.varule.SameRule
- All Implemented Interfaces:
Identified
,VarianceRule
Rule that passes when the source and target have the same Type
object.
This rule can safely be evaluated first and then no other rules need to worry about detecting this same (object) match.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
Methods inherited from interface nz.org.riskscape.engine.types.varule.VarianceRule
getId
-
Constructor Details
-
SameRule
public SameRule()
-
-
Method Details
-
test
- Specified by:
test
in interfaceVarianceRule
-