The condense method of the WildcardExpression Class contains the following signatures:
condense()
condense(IWildcardExpressionComparator judge)
Removes redundant subexpressions. The new subexpressions might match overlapping sets of strings, but will not be equal or entirely match the set of strings of any other subexpressions.
public WildcardExpression condense();
Returns a new WildcardExpression object containig unique expressions of the expression. If there are no redundant expressions, the original expression is returned.
Removes redundant subexpressions. The new subexpressions might match overlapping sets of strings, but will not be equal or entirely match the set of strings of any other subexpressions.
public synchronized WildcardExpression condense( IWildcardExpressionComparator judge);
Returns a new WildcardExpression object containig unique expressions of the expression. If there are no redundant expressions, the original expression is returned.
judge | Used for comparing any auxiliary data that might be associated with each subexpression. |