@Override public boolean equals(final Object other){
  if (this == other) {
    return true;
  }
 else   if (other == null) {
    return false;
  }
 else   if (other instanceof ExpressionMatcher) {
    final ExpressionMatcher o=(ExpressionMatcher)other;
    if (typeMatching != o.typeMatching) {
      return false;
    }
 else     if (exactMatching != o.exactMatching) {
      return false;
    }
 else     if (similarMatching != o.similarMatching) {
      return false;
    }
 else     if (caseInsensitive != o.caseInsensitive) {
      return false;
    }
 else {
      return (jokerMatching == o.jokerMatching);
    }
  }
 else {
    return false;
  }
}

@ Override public boolean equals ( final Object other ) { if ( this == other ) { return true ; } else if ( other == null ) { return false ; } else if ( other instanceof ExpressionMatcher ) { final ExpressionMatcher o = ( ExpressionMatcher ) other ; if ( typeMatching != o . typeMatching ) { return false ; } else if ( exactMatching != o . exactMatching ) { return false ; } else if ( similarMatching != o . similarMatching ) { return false ; } else if ( caseInsensitive != o . caseInsensitive ) { return false ; } else { return ( jokerMatching == o . jokerMatching ) ; } } else { return false ; } }
check for equality of two expressionmatcher objects .
