The compare method of the WildcardExpression Class contains the following signatures:
compare(WildcardExpression other, IWildcardExpressionComparator judge, boolean requireEquality)
compare(WildcardExpression other)
compare(WildcardExpression other, IWildcardExpressionComparator judge)
Compares the set of strings matched by this expression to the set matched by another. This variant of this method should be used for continued expressions.
public int compare(WildcardExpression other, IWildcardExpressionComparator judge, boolean requireEquality);
Returns one of the SetComparison field values to indicate the relationship between the sets.
Other | The object containing the other set of strings. |
Judge | Used for deciding what to do with two expressions. |
RequireEquality | Set to true if the comparator should time-out if it becomes impossible for an EQUAL result to be returned. |
IllegalArgumentException if the expressions cannot be compared.
Compares the set of strings matched by this expression to the set matched by another.
public int compare(WildcardExpression other);
Returns one of the SetComparison field to indicate the relationship between the sets. The result reflects the action of matching non-continuable expressions.
other | The object containing the other set of strings. |
IllegalArgumentException if the expressions cannot be compared.
Compares the set of strings matched by this expression to the set matched by another. This variant of this method should be used for continued expressions.
public int compare(WildcardExpression other, IWildcardExpressionComparator judge);
Returns one of the SetComparison field values to indicate the relationship between the sets.
other | The object containing the other set of strings. |
judge | Used for deciding what to do with two expressions. |
IllegalArgumentException if the expressions cannot be compared.