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
protected abstract class RuleImpl.DistinctState extends java.lang.ObjectBase class for code that depends on the rule'sRule.isDistinctElements()state.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDistinctState()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleancheckDistinct(java.lang.Object[] values, int index, java.lang.Object value)Checks if
-
-
-
Method Detail
-
checkDistinct
public abstract boolean checkDistinct(java.lang.Object[] values, int index, java.lang.Object value)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
-
-