public class IdempotentExpressionCacheFilterStrategy extends Object implements FilterStrategy
FilterStrategy chain) for "idempotent" (with respect to current form
state) predicates. Can only be used for static instances or in cases where form state won't change - will cause
clashes otherwise. Repeated evaluations are fetched in O(1) time.| Constructor and Description |
|---|
IdempotentExpressionCacheFilterStrategy() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<TreeReference> |
filter(@NotNull DataInstance sourceInstance,
@NotNull TreeReference nodeSet,
@NotNull XPathExpression predicate,
@NotNull List<TreeReference> children,
@NotNull EvaluationContext evaluationContext,
@NotNull Supplier<List<TreeReference>> next) |
public IdempotentExpressionCacheFilterStrategy()
@NotNull public @NotNull List<TreeReference> filter(@NotNull @NotNull DataInstance sourceInstance, @NotNull @NotNull TreeReference nodeSet, @NotNull @NotNull XPathExpression predicate, @NotNull @NotNull List<TreeReference> children, @NotNull @NotNull EvaluationContext evaluationContext, @NotNull @NotNull Supplier<List<TreeReference>> next)
filter in interface FilterStrategyCopyright © 2025. All rights reserved.