This method of the IncludeExcludeWildcards Class ensures that the set is in a valid state.
public synchronized void validate();
The set is automatically invalidated when additional expressions are included or excluded, and is automatically validated by other operators when necessary. If the set is already known to be in a valid state, this method does nothing. Validation is relatively expensive, so invoking this method in advance can speed up other operations that require validations.