Package org.eclipse.m2m.atl.emftvm.impl
Class RuleImpl.DistinctState
java.lang.Object
org.eclipse.m2m.atl.emftvm.impl.RuleImpl.DistinctState
- Direct Known Subclasses:
RuleImpl.IsDistinctState,RuleImpl.IsNotDistinctState
- Enclosing class:
RuleImpl
Base class for code that depends on the rule's
Rule.isDistinctElements() state.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleancheckDistinct(Object[] values, int index, Object value) Checks if
-
Constructor Details
-
DistinctState
protected DistinctState()
-
-
Method Details
-
checkDistinct
Checks ifvalues
are distict, if so required by the rule.- Parameters:
values- the currently collected valuesindex- the index up to which to check thevaluesvalue- the value to check againstvalues- Returns:
trueiffvalueis ok
-