public interface IIndex<T>
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
getCandidates(IEvaluationContext ctx,
IExpression variable,
IExpression booleanExpr)
Obtains the elements that are candidates for the given
booleanExpr when applied
using the given variable as this . |
Iterator<T> getCandidates(IEvaluationContext ctx, IExpression variable, IExpression booleanExpr)
booleanExpr
when applied
using the given variable
as this
.
The returned set of elements are the elements that must be present in order for the expression
to evaluate to true
. The set may contain false positives.
TODO: Write more about how the valid set of elements is determined.ctx
- The evaluation context used when examining the booleanExpr
.variable
- The variable used as this
.booleanExpr
- The boolean expression.null
if this index cannot be used.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.