Microsoft SDK for Java

condense

The condense method of the WildcardExpression Class contains the following signatures:

condense()
condense(IWildcardExpressionComparator judge)

condense()

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.

Syntax

public WildcardExpression condense();

Return Value

Returns a new WildcardExpression object containig unique expressions of the expression. If there are no redundant expressions, the original expression is returned.

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.

Syntax

public synchronized WildcardExpression condense( IWildcardExpressionComparator judge);

Return Value

Returns a new WildcardExpression object containig unique expressions of the expression. If there are no redundant expressions, the original expression is returned.

Parameters

judge Used for comparing any auxiliary data that might be associated with each subexpression.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.