Package org.qdl_lang.evaluate
Class StemEvaluator.ARForEachImpl
- java.lang.Object
-
- org.qdl_lang.util.aggregate.AbstractIdentityStemProcess
-
- org.qdl_lang.util.aggregate.AxisRestrictionIdentity
-
- org.qdl_lang.evaluate.StemEvaluator.ARForEachImpl
-
- All Implemented Interfaces:
ProcessStemAxisRestriction
,ProcessStemValues
- Enclosing class:
- StemEvaluator
public static class StemEvaluator.ARForEachImpl extends AxisRestrictionIdentity
-
-
Field Summary
-
Fields inherited from class org.qdl_lang.util.aggregate.AxisRestrictionIdentity
axis
-
Fields inherited from interface org.qdl_lang.util.aggregate.ProcessStemAxisRestriction
ALL_AXES
-
-
Constructor Summary
Constructors Constructor Description ARForEachImpl(ExpressionImpl f, State state, int axis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDefaultValue(List<Object> index, Object key, Object value)
This is what makes this the identity function.-
Methods inherited from class org.qdl_lang.util.aggregate.AxisRestrictionIdentity
getAxis, process, process
-
Methods inherited from class org.qdl_lang.util.aggregate.AbstractIdentityStemProcess
process, process, process, process, process, process, process, process
-
-
-
-
Constructor Detail
-
ARForEachImpl
public ARForEachImpl(ExpressionImpl f, State state, int axis)
-
-
Method Detail
-
getDefaultValue
public Object getDefaultValue(List<Object> index, Object key, Object value)
Description copied from class:AbstractIdentityStemProcess
This is what makes this the identity function. If you want/need a different default value for each call, override this.- Overrides:
getDefaultValue
in classAbstractIdentityStemProcess
- Returns:
-
-