This method of the WildcardExpression Class determines if this object is equivalent to another object.
public boolean equals(Object obj);
Returns true if obj is equivalent or matched by this object; otherwise, returns false.
obj | A String to match against this expression or a WildcardExpression to compare for equivalence. |