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 protected
IsDistinctState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkDistinct(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:
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
-
-