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
protected class RuleImpl.IsDistinctState extends RuleImpl.DistinctState
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIsDistinctState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckDistinct(java.lang.Object[] values, int index, java.lang.Object value)Checks if
-
-
-
Method Detail
-
checkDistinct
public boolean checkDistinct(java.lang.Object[] values, int index, java.lang.Object value)Checks ifvalues
are distict, if so required by the rule.- Specified by:
checkDistinctin classRuleImpl.DistinctState- Parameters:
values- the currently collected valuesindex- the index up to which to check thevaluesvalue- the value to check againstvalues- Returns:
trueiffvalueis ok
-
-