private static boolean failedEquivalenceCheck(
      EquivalenceMatch eqMatch, EquivalenceMethod eqMethod) {
    return eqMatch == EquivalenceMatch.VALUE_MISMATCH
        || (eqMatch == EquivalenceMatch.NO_KEY_MATCH && eqMethod != EquivalenceMethod.INVARIANT);
  }
private static boolean failedEquivalenceCheck ( EquivalenceMatch eqMatch , EquivalenceMethod eqMethod ) { return eqMatch == EquivalenceMatch . VALUE_MISMATCH || ( eqMatch == EquivalenceMatch . NO_KEY_MATCH && eqMethod != EquivalenceMethod . INVARIANT ) ; }
Determines if the specified EquivalenceMatch is considered a failing
condition for an equivalence check, given the EquivalenceMethod used for
the check.