The selectSubexpression method of the WildcardExpression Class contains the following signatures:
selectSubexpressions(WildcardExpression other, int[] criteria, IWildcardExpressionComparator judge)
selectSubexpressions(WildcardExpression other, int[] criteria)
Constructs a new expression containing expressions from this expression that have any of the specified comparison results against any subexpressions of the target expression.
public WildcardExpression selectSubexpressions(WildcardExpression other, int[] criteria, IWildcardExpressionComparator judge);
Returns the original expression if all are selected; returns a new expression containing only the subexpressions of this expression that meet the selection criteria.
other | The target expression to compare against. |
criteria | The selection criteria determining inclusion in the returned expression. |
judge | An IWildcardExpressionComparator hook interface to compare any extra data associated with the subexpressions. |
Constructs a new expression containing expressions from this expression that have any of the specified comparison results against any subexpressions of the target expression.
public WildcardExpression selectSubexpressions(WildcardExpression other, int[] criteria);
Returns the original expression if all are selected; returns a new expression containing only the subexpressions of this expression that meet the selection criteria.
other | The other target expression to compare against. |
criteria | The Selection criteria determining inclusion in the returned expression. |