Package org.eclipse.m2m.atl.emftvm.impl
Class RuleImpl.IsDistinctState
java.lang.Object
org.eclipse.m2m.atl.emftvm.impl.RuleImpl.DistinctState
org.eclipse.m2m.atl.emftvm.impl.RuleImpl.IsDistinctState
- Enclosing class:
- RuleImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkDistinct
(Object[] values, int index, Object value) Checks if
-
Constructor Details
-
IsDistinctState
protected IsDistinctState()
-
-
Method Details
-
checkDistinct
Checks ifvalues
are distict, if so required by the rule.- Specified by:
checkDistinct
in classRuleImpl.DistinctState
- Parameters:
values
- the currently collected valuesindex
- the index up to which to check thevalues
value
- the value to check againstvalues
- Returns:
true
iffvalue
is ok
-